From owner-freebsd-questions Mon Nov 11 13:57:59 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6EAC537B401 for ; Mon, 11 Nov 2002 13:57:58 -0800 (PST) Received: from postfix4-1.free.fr (postfix4-1.free.fr [213.228.0.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 96F1343E3B for ; Mon, 11 Nov 2002 13:57:57 -0800 (PST) (envelope-from blacherez@ac-bordeaux.fr) Received: from milouz.boece.foo (bordeaux-2-a8-62-147-52-55.dial.proxad.net [62.147.52.55]) by postfix4-1.free.fr (Postfix) with ESMTP id 38E1FDDC6 for ; Mon, 11 Nov 2002 22:57:50 +0100 (CET) Received: by milouz.boece.foo (Postfix, from userid 1000) id 252CA35010; Mon, 11 Nov 2002 22:57:44 +0100 (CET) Date: Mon, 11 Nov 2002 22:57:44 +0100 From: Benoit Lacherez To: questions@FreeBSD.org Subject: Re: awk to remove backet Message-ID: <20021111225743.A7718@milouz.boece.foo> References: <20021111193808.77684.qmail@web21502.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5.1i In-Reply-To: <20021111193808.77684.qmail@web21502.mail.yahoo.com>; from oiyanca@yahoo.ca on Mon, Nov 11, 2002 at 02:38:08PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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