sed problem: variables countaining special symbols
Hi Guys,
Wonder if you can , this problem is getting me down.
My script is falling over with a sed problem.
NEWSTORE=JvHCdEMzDegPI
NPASS=EoWH/Q4hds7nA
sed -e '/bill/s/'"${NEWSTORE}"'/'"${NPASS}"'/g' /tmp/temp
The above sed command works fine when there are no "special characters"
but when they appear as above i get a sed: command garbled: error.
Tried a few things with no luck, to escape theses.
Anyone out there that can plz
|