Maplologue
Programmer
Hi every body,
I have a problem with the UNIX sed command. I have a file named Script that contains those instructions.
sed s/old1/new1/g SourceFile >Result
sed s/old2/new2/g SourceFile >Result
sed s/old3/new3/g SourceFile >Result
And when I execute this file, only the last command is taken into account not the first 2.
Does anyone know what the matter is?
I have a problem with the UNIX sed command. I have a file named Script that contains those instructions.
sed s/old1/new1/g SourceFile >Result
sed s/old2/new2/g SourceFile >Result
sed s/old3/new3/g SourceFile >Result
And when I execute this file, only the last command is taken into account not the first 2.
Does anyone know what the matter is?