Results 1 to 2 of 2
Hi,
I am using the 'search & replace' option of the 'sed' command and I am getting the error "unterminated `s' command"
The command looks like
sed 's/default=$ORIG_COUNT/default=$COUNT/' test
where ...
- 11-02-2009 #1Just Joined!
- Join Date
- Oct 2009
- Posts
- 10
sed -- unterminated 's' command
Hi,
I am using the 'search & replace' option of the 'sed' command and I am getting the error "unterminated `s' command"
The command looks like
sed 's/default=$ORIG_COUNT/default=$COUNT/' test
where I want to change the 'default' value in the 'test' file.
Plz help!
- 11-02-2009 #2Just Joined!
- Join Date
- Oct 2009
- Posts
- 10
There was a minor mistake. The command should be
sed 's/default='$ORIG_COUNT'/default='$COUNT'/' test
It works fine!


Reply With Quote