On Mon, 11 Nov 2002, Benoit Lacherez wrote: > The easiest is to try: > > % echo '(abc.com)' | sed 's/(\([^)]*\))/\1/g' > abc.com > % echo '(abc.com)' | sed 's/\(([\w]+)\)/\1/g' > (abc.com)
Easier yet is echo '(abc)' | tr -d '()' (Which maybe is not what was wanted, but does what was asked. 8-) -Warren Block * Rapid City, South Dakota USA To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message