Article View: es.comp.os.linux.programacion
Article #345Re: Problemas con sed
From: Ignacio Arenaza
Date: Fri, 02 Jan 2009 00:29
Date: Fri, 02 Jan 2009 00:29
26 lines
1918 bytes
1918 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ignacio Arenaza <iarenaza@eb2ebu.ampr.org> writes:
> perl -ne '@urls = m/<a href= *"([^"]*?)"/go; foreach $i (@urls) { print $i . "-----\n" }' < fichero
Ups! Se me ha olvidado borrar el marcador ('-----') que he usado para
las pruebas intermedias. Deber�a ser:
> perl -ne '@urls = m/<a href= *"([^"]*?)"/go; foreach $i (@urls) { print $i, "\n" }' < fichero
Saludos. I�aki.
- --
Mondragon University
GPG Key available at public keyservers
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Processed by Mailcrypt and GPG
iD8DBQFJXV/YRgC43oKhB3QRAup+AJ409Qx0OR9SRImaHtNsYWp6iJ0fXwCg20aX
gkg+XVTL8GPbMB/zdR+Thk4=
=g6s/
-----END PGP SIGNATURE-----
Technical Details
Message-ID:
<671vvmim8m.fsf@poseidon.eteo.mondragon.edu>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!news2!feeder.erje.net!news-1.dfn.de!fu-berlin.de!news.eteo.mondragon.edu!eteo.mondragon.edu!not-for-mailReferences:
<195b7bbf-d5b3-43a9-9d01-996fc03a3726@o4g2000pra.googlegroups.com> <6763kyimbc.fsf@poseidon.eteo.mondragon.edu>Show Full Headers
Complete Article Headers
X-Google-Thread: f86c8,3f9e8ae1c57984bc X-Google-Attributes: gidf86c8,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!news2!feeder.erje.net!news-1.dfn.de!fu-berlin.de!news.eteo.mondragon.edu!eteo.mondragon.edu!not-for-mail From: Ignacio Arenaza <iarenaza@eb2ebu.ampr.org> Newsgroups: es.comp.os.linux.programacion Subject: Re: Problemas con sed Date: Fri, 02 Jan 2009 01:29:29 +0100 Organization: Mondragon Unibertsitatea - ETEO Lines: 26 Distribution: es Message-ID: <671vvmim8m.fsf@poseidon.eteo.mondragon.edu> References: <195b7bbf-d5b3-43a9-9d01-996fc03a3726@o4g2000pra.googlegroups.com> <6763kyimbc.fsf@poseidon.eteo.mondragon.edu> NNTP-Posting-Host: sid.eteo.mondragon.edu Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: poseidon.eteo.mondragon.edu 1230856169 21752 172.31.3.9 (2 Jan 2009 00:29:29 GMT) X-Complaints-To: newsmaster@eteo.mondragon.edu NNTP-Posting-Date: Fri, 2 Jan 2009 00:29:29 +0000 (UTC) User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:grzn3BbPxEs1rwz92nfqHX+u3mw=