>Yes, the s/'/"/g was an error, but the true problem was that there was a
>"/" character in one of the variables being substituted in and the regexp
>was getting confused over that.

This is why it's important to report the exact problem. If you had had
an extra / in the s command, sed would have said something like bad
expression. If the problem had been 's you would have had $CHAR all over
the output.


--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to