Article View: es.comp.os.linux.programacion
Article #7129Re: Preguntilla de sed
From: J.A. Gutierrez
Date: Tue, 01 Apr 2003 08:46
Date: Tue, 01 Apr 2003 08:46
26 lines
2352 bytes
2352 bytes
sio2 <sio2.arr@ba.online.fr> wrote: : El lunes, 31 de marzo de 2003, a las 11:20 GMT, J.A. Gutierrez escribi�: :> sio2 <auxiliar@inwind.it> wrote: :>: Lo que quiero es crearme un peque�o script (que use sed) , de manera :>: que el script admita como par�metro un n�mero que indica el texto que :>: quiero rescatar. Por ejemplo: :> :> dudo que sea posible. Usa awk en su lugar... :> : La verdad es que tengo nociones b�sicas de ambos. Al final lo he hecho : con grep+awk+sed: En general: grep + awk = awk Muchas veces: awk + sed = awk : Lo investigo yo, pero �hay alguna forma de hacerlo s�lo con 'awk'?. Lo : digo para ponerme a estudiarlo un poco m�s concienzudamente. pues si, si que la hay, y no es dificil. -- finger spd@shiva.cps.unizar.es for PGP / .mailcap tip of the day: / La vida es una carcel application/ms-tnef; cat '%s' > /dev/null / con las puertas abiertas text/x-vcard; cat '%s' > /dev/null / (A. Calamaro)
Technical Details
Message-ID:
<b6bjkp$e8e$1@localhost.escomposlinux.org>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!proxad.net!proxad.net!news-hub.cableinet.net!blueyonder!marmolejo.escomposlinux.org!not-for-mailReferences:
<1b5b7a1f.0303310242.b117c5@posting.google.com> <b698ad$94n$1@localhost.escomposlinux.org> <slrnb8gp1a.s0d.sio2.arr@cebolleta.net.dhis.org>Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,d868d3e9f4413baf
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2003-04-01 00:46:19 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!proxad.net!proxad.net!news-hub.cableinet.net!blueyonder!marmolejo.escomposlinux.org!not-for-mail
From: "J.A. Gutierrez" <spd@daphne.cps.unizar.es>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: Preguntilla de sed
Date: Tue, 1 Apr 2003 08:46:17 +0000 (UTC)
Organization: Rank
Lines: 26
Sender: "J.A. Gutierrez" <spd@shiva.cps.unizar.es>
Message-ID: <b6bjkp$e8e$1@localhost.escomposlinux.org>
References: <1b5b7a1f.0303310242.b117c5@posting.google.com> <b698ad$94n$1@localhost.escomposlinux.org> <slrnb8gp1a.s0d.sio2.arr@cebolleta.net.dhis.org>
NNTP-Posting-Host: shiva.cps.unizar.es
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: localhost.escomposlinux.org 1049186777 14606 155.210.152.10 (1 Apr 2003 08:46:17 GMT)
X-Complaints-To: newsmaster@marmolejo.escomposlinux.org
NNTP-Posting-Date: Tue, 1 Apr 2003 08:46:17 +0000 (UTC)
User-Agent: tin/1.4.5-20010409 ("One More Nightmare") (UNIX) (IRIX64/6.2 (IP19))