dmshawkat
asked on
Getting sed : command garbled
Hello Dear
When I run a sed script
I am getting following erra when runnining the replacement
sed: command garbled: s/LINKFLAGS = -G -mt -o/LINKFLAGS = -G -mt/
Any hlep would be greatly appraciated
Thanks
Shawkat
When I run a sed script
I am getting following erra when runnining the replacement
sed: command garbled: s/LINKFLAGS = -G -mt -o/LINKFLAGS = -G -mt/
Any hlep would be greatly appraciated
Thanks
Shawkat
ASKER
What is the format or syntax ; where is the start and end of single quote ?
also I am running sed -f test.sed $file > $file.out as a result I am geeting .out file
( which is the expected output ) but i have to mannually rename them to the original filename
then remove all*.out
is there a way I can overwrite the original one ?
also I am running sed -f test.sed $file > $file.out as a result I am geeting .out file
( which is the expected output ) but i have to mannually rename them to the original filename
then remove all*.out
is there a way I can overwrite the original one ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Are you enclosing this string in single quotes?
Kent