Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Feb 2002 09:46:33 -0800 (PST)
From:      Eric Boucher <eric_boucher60@yahoo.com>
To:        FreeBSD <freebsd-questions@FreeBSD.ORG>
Subject:   Bourne shell programming problem no.2
Message-ID:  <20020221174633.43542.qmail@web9404.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
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!

__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com

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?20020221174633.43542.qmail>