Quantcast
Channel: sed: unknown option to `s' - Ask Ubuntu
Browsing latest articles
Browse All 3 View Live

Answer by muru for sed: unknown option to `s'

In the sed expression s:INFILE_PATH_NAME:"${filedir}"/"${filename}":g, there are five parts: the sed command s, the search pattern for that command (INFILE_PATH_NAME), the replacement text (whatever...

View Article



Answer by PerlDuck for sed: unknown option to `s'

The error appears because your variables (at least some of them) contain colons (:) and you use a colon as the delimiter for the s/…/…/ command. Actually for the s:…:…: command in your case. When you...

View Article

sed: unknown option to `s'

I am trying to use a shell script file in the Bash shell. In this script, 2 sed commands are there. The second sed command is following. sed -e s:MACRO_NAME:"${runmacro}":g \ -e...

View Article
Browsing latest articles
Browse All 3 View Live




Latest Images