----- Original Message ----- From: "John T (Lists)" <[EMAIL PROTECTED]>

I am looking for a way to edit a text file through command line for use in
batch files, generally doing search and replace.

If any one has suggestions, please let me know.

Sed works well for this type of function:

sed "s/original text/new text/g" old-file.txt > new-file.txt

Bill
---
This E-mail came from the Declude.JunkMail mailing list.  To
unsubscribe, just send an E-mail to [EMAIL PROTECTED], and
type "unsubscribe Declude.JunkMail".  The archives can be found
at http://www.mail-archive.com.

Reply via email to