can't invoke sed properly...

Ned ngranic at cox.net
Mon May 2 16:23:20 EDT 2005


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


More information about the Speakup mailing list