Hi
How can I make sed happy with this command:
sed -i -e #"${ID_IN_PASSWORD_QUEUE}${DELIM1}${PASSWORD_IN_PASSWORD_QUEUE}"#d
I can replace the text with blanks first instead (with s###g) and then remove the blanks with:
sed -i -e /'^ *$'/d $1
But I keep getting error when I try to do it in one step.
sed: option requires an argument -- e
I know my quotes must be wrong....
Can anyone lend a pair of eyes?
How can I make sed happy with this command:
sed -i -e #"${ID_IN_PASSWORD_QUEUE}${DELIM1}${PASSWORD_IN_PASSWORD_QUEUE}"#d
I can replace the text with blanks first instead (with s###g) and then remove the blanks with:
sed -i -e /'^ *$'/d $1
But I keep getting error when I try to do it in one step.
sed: option requires an argument -- e
I know my quotes must be wrong....
Can anyone lend a pair of eyes?