↧
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 ArticleAnswer 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 Articlesed: 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