Halid Faith wrote:

I want to replace two or more strings in a file in the same time with sed 
command.
How do I that ?
Do you mean something like:

sed -e 's/string1/replacement1/g' -e 's/string2/replacement2/g'

or

sed -f instructions.sed

instructions.sed:

s/string1/replacement1/g
s/string2/replacement2/g

--Alex

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to