Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Feb 2002 14:51:13 -0600
From:      Eric Six <erics@sirsi.com>
To:        "'Ceri'" <setantae@submonkey.net>, Eric Boucher <eric_boucher60@yahoo.com>
Cc:        FreeBSD <freebsd-questions@FreeBSD.ORG>
Subject:   RE: Bourne shell programming problem no.2
Message-ID:  <DC32C8CEB3F8D311B6B5009027DE5AD503D2088E@stlmail.dra.com>

next in thread | raw e-mail | index | archive | help
lol...

That's how I got through programming AI interfaces college.. come on now! :)

I would use perl for this... is your homework strictly bash?


Eric

-----Original Message-----
From: Ceri [mailto:setantae@submonkey.net]
Sent: Thursday, February 21, 2002 2:47 PM
To: Eric Boucher
Cc: FreeBSD
Subject: Re: Bourne shell programming problem no.2


On Thu, Feb 21, 2002 at 09:46:33AM -0800, Eric Boucher wrote:
> Hi everyone,
> 
> I have another problem while programming with the
> bourne shell. I want to be able to write in a file at
> a certain place. For example, if a file contain:
> 
> AAA BBB CCC DDD.
> EEE FFF GGG HHH.
> III JJJ KKK LLL.
> 
> I want to change the word "GGG" by "TTT". But "GGG"
> can be anyware in the file (which I have permission to
> write by the way).How do I do such a trick with the
> bourne shell?
> 
> Thanks a lot!

This is your homework, right ?

Ceri

-- 
keep a mild groove on

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DC32C8CEB3F8D311B6B5009027DE5AD503D2088E>