🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #15730

Re: Tratar texto

#15730
From: Esteban
Date: Mon, 05 Jun 2000 00:00
34 lines
1751 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

J.A. Gutierrez <spd@daphne.cps.unizar.es> escribi�:

>:> 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

Gracias majete. Ya se a qui�n tengo que hacer las preguntas del bash.

Eres el mejor.

- -- 
Esteban Navarro (User Linux 132409)
Fondos Escritorio: http://www.ctv.es/USERS/scandisk
Clave P�blica E-Mail asunto: PGPKEY

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE5O/5la3aqF90Ua+oRAtRlAJ9+gnCjvyGhg8H5L1bBANnMP1jHogCgoGvg
y/HOEwyWJjFX0K3yhO22Vjg=
=WKYn
-----END PGP SIGNATURE-----
Technical Details
Message-ID: <slrn8jnvj7.bee.scandisk@localhost.localdomain>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <slrn8jbum3.2ab.scandisk@localhost.localdomain> <1ebkrtu.1g3iuvwwadcj0N%foviedoa@teleline.es> <8hg0u2$9hc$1@news.unizar.es>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,fdf77aa520ab4e55
X-Google-Attributes: gidf86c8,public
From: scandisk@ctv.es (Esteban)
Subject: Re: Tratar texto
Date: 2000/06/05
Message-ID: <slrn8jnvj7.bee.scandisk@localhost.localdomain>
X-Deja-AN: 631442683
Content-Transfer-Encoding: 8bit
References: <slrn8jbum3.2ab.scandisk@localhost.localdomain> <1ebkrtu.1g3iuvwwadcj0N%foviedoa@teleline.es> <8hg0u2$9hc$1@news.unizar.es>
Content-Type: text/plain; charset=iso-8859-1
X-Complaints-To: abuse@news.wanadoo.es
X-Trace: m2newsread.uni2.es 960238185 62.36.118.96 (Mon, 05 Jun 2000 22:49:45 MET DST)
Organization: Wanadoo Usenet News - Visita http://www.wanadoo.es/
Mime-Version: 1.0
User-Agent: slrn/0.9.6.2 (Linux)
Reply-To: scandisk@ctv.es
NNTP-Posting-Date: Mon, 05 Jun 2000 22:49:45 MET DST
Newsgroups: es.comp.os.linux.programacion