Regular Expression delimiters
Michael J. Chinni, SMCAR-CCS-E
mchinni at pica.army.mil
Wed Apr 12 01:20:10 AEST 1989
Larry,
I don't know if there is a "standard" trick for this, but I had to
write a shell script where this was going to be a problem. I got around this by
using "tr" to translate all the possible characters that could mess up sed into
characters that are ok to sed.
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
Michael J. Chinni
US Army Armament Research, Development, and Engineering Center
User to skeleton sitting at cobweb () Picatinny Arsenal, New Jersey
and dust covered terminal and desk () ARPA: mchinni at pica.army.mil
"System been down long?" () UUCP: ...!uunet!pica.army.mil!mchinni
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
More information about the Comp.unix.questions
mailing list