From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from fed1rmmtao04.cox.net ([68.230.241.35]) by speech.braille.uwo.ca with esmtp (Exim 3.36 #1 (Debian)) id 1DShSJ-0003p3-00 for ; Mon, 02 May 2005 16:23:52 -0400 Received: from nedelko83f1172 ([68.231.169.194]) by fed1rmmtao04.cox.net (InterMail vM.6.01.04.00 201-2131-118-20041027) with SMTP id <20050502202320.CXPM23392.fed1rmmtao04.cox.net@nedelko83f1172> for ; Mon, 2 May 2005 16:23:20 -0400 Message-ID: <002001c54f54$c8466170$c2a9e744@nedelko83f1172> From: "Ned" To: "Speakup is a screen review system for Linux." Date: Mon, 2 May 2005 13:23:20 -0700 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: can't invoke sed properly... X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Speakup is a screen review system for Linux." List-Id: "Speakup is a screen review system for Linux." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 May 2005 20:23:52 -0000 Hi all, I have problemof invoking the sed text editor properly. How, let's say, would I invoke sed in order to make a substitution in = all lines of my_file: sed :1,$ s/red/blue/g my_file I am writing a bash script and need to test each line outside it first = to make sure it works. Many thanks in advance! Ned