[ale] Search and destroy simplified
Ed Landa
elanda at comstar.net
Tue Jul 21 19:26:01 EDT 1998
> I know there has got to be a more elegant way to replace all
> instances of one string with another (rather than using vim) from the
> command line. Can anyone make any suggestions?
Use sed:
***
[elanda at beavis e]$ cat e1
This is a test file. I like test files. They help me
to test programs. Testing is cool.
[elanda at beavis e]$ sed -e "s/test/yowza/g" e1
This is a yowza file. I like yowza files. They help me
to yowza programs. Testing is cool.
[elanda at beavis e]$
***
More information about the Ale
mailing list