Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Nov 2002 22:57:44 +0100
From:      Benoit Lacherez <blacherez@ac-bordeaux.fr>
To:        questions@FreeBSD.org
Subject:   Re: awk to remove backet
Message-ID:  <20021111225743.A7718@milouz.boece.foo>
In-Reply-To: <20021111193808.77684.qmail@web21502.mail.yahoo.com>; from oiyanca@yahoo.ca on Mon, Nov 11, 2002 at 02:38:08PM -0500
References:  <20021111193808.77684.qmail@web21502.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Oi Yan a écrit :
> Hi all
> 
> How do I remove the backet "(" ")"
> 
> file: 
> (abc.com)
> 
> to 
> 
> file: 
> abc.com
> 
> 
> thank you for your help
> 

What about sed 's/(\([^)]*\))/\1/g' ?

-- 
Benoit Lacherez
Académie de Bordeaux -- CATICE
Projet de traduction de la documentation de Python:
http://frpython.sourceforge.net/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021111225743.A7718>