From owner-freebsd-questions Thu Feb 21 9:46:35 2002 Delivered-To: freebsd-questions@freebsd.org Received: from web9404.mail.yahoo.com (web9404.mail.yahoo.com [216.136.129.110]) by hub.freebsd.org (Postfix) with SMTP id 7A46837B400 for ; Thu, 21 Feb 2002 09:46:33 -0800 (PST) Message-ID: <20020221174633.43542.qmail@web9404.mail.yahoo.com> Received: from [65.94.26.37] by web9404.mail.yahoo.com via HTTP; Thu, 21 Feb 2002 09:46:33 PST Date: Thu, 21 Feb 2002 09:46:33 -0800 (PST) From: Eric Boucher Subject: Bourne shell programming problem no.2 To: FreeBSD MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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