sed script question

jim ruxton cinetron-uEvt2TsIf2EsA/PxXw9srA at public.gmane.org
Tue Jan 18 04:50:02 UTC 2005


I'm trying to write a script and in it one of the things I want to do is
get rid of [ characters. When I try using sed as in:
sed s/"["/" "/g   
I get an error message saying it is an unterminated s command. I have a
feeling this is because [ is a special character. I thought however
putting quotes around it would take care of this. Any thoughts on what
I'm doing wrong? Thanks.
Jim

--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list