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.