[olug] Character Removal

stan at srcproductions.com stan at srcproductions.com
Thu Oct 18 23:50:31 UTC 2007


I'd like to remove all characters between a '(' and the second ')'. I  
tried command lines like:

sed '/(/,/)/d'
sed '/[(]/,/[)]/d'

even got crazy and tried

sed '/'('/,/')'/d'
sed '/"("/,/")"/d'
sed '/\x28/,/\x29/d'

None of which worked.

(I'm running the script on the latest Debian Distro.)






More information about the OLUG mailing list