[ale] sed

Jim Popovitch yahoo at jimpop.com
Thu May 17 22:43:20 EDT 2007


On Thu, 2007-05-17 at 22:39 -0400, Jim Popovitch wrote:
> You need to do this:
> 
> sed -i -e 's/abc/xyz/g' <file >file

Actually, to be perfectly clear (since I just cut+pasted your cmdline)
you need to do only this:

sed -i -e 's/abx/xyz/g' file   (no redirects)

-Jim P.




More information about the Ale mailing list