Hi All,
I have been trying to use sed to make a change in my files.
I used the following command:
Code:
sed -e 's/-l 1000/-l 5000/' <old > new
but what I get is the the new files without the intended change.
I also used:
Code:
sed -i -e 's/-l 1000/-l 5000/' <old > new
but gained nothing.
I used also:
Code:
sed -i -e 's/1000/5000/' old > new
and in this case, the change took place in the old file and the new file was produced empty of any contents.
I used double quotes instead on one, and I also removed the "<" sign before the name of the old file.
Thanks in advance,
faizlo