Article View: es.comp.os.linux.programacion
Article #346Re: Problemas con sed
From: ABSOLUT
Date: Fri, 02 Jan 2009 08:36
Date: Fri, 02 Jan 2009 08:36
33 lines
2286 bytes
2286 bytes
On 2 ene, 01:29, Ignacio Arenaza <iaren...@eb2ebu.ampr.org> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Ignacio Arenaza <iaren...@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-----
Muchas gracias a todos, pero alguien sabe hacer esto con el comando
sed???
Gracias
Technical Details
Message-ID:
<d6e487bd-2646-4715-811a-6fec3da796f3@n33g2000pri.googlegroups.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!n33g2000pri.googlegroups.com!not-for-mailReferences:
<195b7bbf-d5b3-43a9-9d01-996fc03a3726@o4g2000pra.googlegroups.com> <6763kyimbc.fsf@poseidon.eteo.mondragon.edu> <671vvmim8m.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!postnews.google.com!n33g2000pri.googlegroups.com!not-for-mail From: ABSOLUT <davidtuti@gmail.com> Newsgroups: es.comp.os.linux.programacion Subject: Re: Problemas con sed Date: Fri, 2 Jan 2009 00:36:26 -0800 (PST) Organization: http://groups.google.com Lines: 33 Distribution: es Message-ID: <d6e487bd-2646-4715-811a-6fec3da796f3@n33g2000pri.googlegroups.com> References: <195b7bbf-d5b3-43a9-9d01-996fc03a3726@o4g2000pra.googlegroups.com> <6763kyimbc.fsf@poseidon.eteo.mondragon.edu> <671vvmim8m.fsf@poseidon.eteo.mondragon.edu> NNTP-Posting-Host: 213.0.43.189 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1230885386 26972 127.0.0.1 (2 Jan 2009 08:36:26 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 2 Jan 2009 08:36:26 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: n33g2000pri.googlegroups.com; posting-host=213.0.43.189; posting-account=j17dBAoAAAA39KtezIzZ77RgDg32faYV User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; InfoPath.1),gzip(gfe),gzip(gfe)