Hello all, and thanks for previous help! :-)

Can anyone give me a csh cheat to copy a file with a specific string
replaced with another?

For example
copy foo1.txt to foo2.txt and replace each instance of "blue" with "red"
where
foo1.txt contains
apple
blue syrup
green apples
blue
red grapes
grapes

and the resulting foo2.txt contains
apple
red syrup
green apples
red
red grapes
grapes

tia !!!
Keith

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.516 / Virus Database: 313 - Release Date: 9/1/2003


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to