Article View: es.comp.os.linux.programacion
Article #15720Re: Tratar texto
From: J.A. Gutierrez
Date: Mon, 05 Jun 2000 00:00
Date: Mon, 05 Jun 2000 00:00
25 lines
1539 bytes
1539 bytes
Francisco J. Oviedo <foviedoa@teleline.es> wrote: : Esteban <scandisk@ctv.es> wrote: :> -----BEGIN PGP SIGNED MESSAGE----- :> Hash: SHA1 :> :> Tengo un fichero con un mont�n de direcciones del tipo :> :> 1001:From: "Pepe" <pepe@prueba.com> :> :> y quiero extraer �nica y exclusivamente la direcci�n que hay entre < > : cat fichero |sed 's/^.*<// |sed 's/>.*// te sobran dos comandos: sed -e 's/^.*<//' -e 's/>.*//' fichero -- PGP and other useless info at \ Oh, show us the way http://www.cps.unizar.es/~spd/ \ to the next whisky bar finger://daphne.cps.unizar.es/spd \ Weill/Bretch es doloroso ser sabio y descubrir la sopa de ajo (Pla)
Technical Details
Message-ID:
<8hg0u2$9hc$1@news.unizar.es>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<slrn8jbum3.2ab.scandisk@localhost.localdomain> <1ebkrtu.1g3iuvwwadcj0N%foviedoa@teleline.es>Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,fdf77aa520ab4e55
X-Google-Attributes: gidf86c8,public
From: "J.A. Gutierrez" <spd@daphne.cps.unizar.es>
Subject: Re: Tratar texto
Date: 2000/06/05
Message-ID: <8hg0u2$9hc$1@news.unizar.es>
X-Deja-AN: 631225368
Content-Transfer-Encoding: 8bit
References: <slrn8jbum3.2ab.scandisk@localhost.localdomain> <1ebkrtu.1g3iuvwwadcj0N%foviedoa@teleline.es>
Content-Type: text/plain; charset=ISO-8859-1
X-Complaints-To: usenet@news.unizar.es
X-Trace: news.unizar.es 960202498 9772 155.210.152.20 (5 Jun 2000 10:54:58 GMT)
Organization: Rank
Mime-Version: 1.0
User-Agent: tin/1.4.1-19991201 ("Polish") (UNIX) (IRIX/6.2 (IP22))
NNTP-Posting-Date: 5 Jun 2000 10:54:58 GMT
Newsgroups: es.comp.os.linux.programacion