Article View: es.comp.os.linux.programacion
Article #6494Re: Conocer si un script se ha llamado a símismo
From: sio2
Date: Wed, 11 Jun 2003 20:57
Date: Wed, 11 Jun 2003 20:57
19 lines
2293 bytes
2293 bytes
El mi�rcoles, 11 de junio de 2003, a las 19:21 GMT, Juli�n Albo escribi�:
>
> �Y por qu� metes las diferentes partes en diferentes scripts? Usa
> funciones mejor.
Eso me gustar�a a m�, pero awk no me deja. Su 'print $0' tengo que
direccionarlo a un programa (el script hijo). En todo caso, lo que podr�a
hacer es no usar awk (que es lo m�s inmediato) para trocear el mensaje.
Quiz�s sustituir awk por un for y un par de llamadas a 'sed'.
--
Todo es vana arquitectura,
porque dijo un sabio un d�a
que a los sastres se deb�a
la mitad de su hermosura.
--- Lope de Vega --
Si Di�xido de Silicio | Debian GNU/Linux
/ \ (SiO2) | Jos� Miguel S�nchez Al�s
O O Mineral de Cuarzo | sio2.arr@ba.online.fr | URL #257033
Technical Details
Message-ID:
<slrnbef5su.pv9.sio2.arr@cebolleta.net.dhis.org>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.vmunix.org!fu-berlin.de!uni-berlin.de!22.red-80-37-129.pooles.rima-tde.NET!not-for-mailReferences:
<slrnbe9djd.5nd.sio2.arr@cebolleta.net.dhis.org> <874r2z2jgb.fsf@thalassa.informatimago.com> <slrnbe9o73.9t5.sio2.arr@cebolleta.net.dhis.org> <8765nex5ab.fsf@thalassa.informatimago.com> <bc32c8$5j1$1@nsnmrro2-gest.nuria.telefonica-data.net> <slrnbeb4u3.m6c.sio2.arr@cebolleta.net.dhis.org> <tg7hr-qgl.ln1@mithrandir.intranet> <slrnbec3e8.tjo.sio2.arr@cebolleta.net.dhis.org> <ll8ir-71a.ln1@mithrandir.intranet> <slrnbeetj8.nla.sio2.arr@cebolleta.net.dhis.org> <3EE78150.38419124@terra.es>Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII X-Google-Thread: f86c8,9e3b5a3ca8b4d64b X-Google-Attributes: gidf86c8,public X-Google-ArrivalTime: 2003-06-11 14:00:26 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.vmunix.org!fu-berlin.de!uni-berlin.de!22.red-80-37-129.pooles.rima-tde.NET!not-for-mail From: sio2 <sio2.arr@ba.online.fr> Newsgroups: es.comp.os.linux.programacion Subject: Re: Conocer si un script se ha llamado a símismo Date: Wed, 11 Jun 2003 22:57:02 +0200 Lines: 19 Message-ID: <slrnbef5su.pv9.sio2.arr@cebolleta.net.dhis.org> References: <slrnbe9djd.5nd.sio2.arr@cebolleta.net.dhis.org> <874r2z2jgb.fsf@thalassa.informatimago.com> <slrnbe9o73.9t5.sio2.arr@cebolleta.net.dhis.org> <8765nex5ab.fsf@thalassa.informatimago.com> <bc32c8$5j1$1@nsnmrro2-gest.nuria.telefonica-data.net> <slrnbeb4u3.m6c.sio2.arr@cebolleta.net.dhis.org> <tg7hr-qgl.ln1@mithrandir.intranet> <slrnbec3e8.tjo.sio2.arr@cebolleta.net.dhis.org> <ll8ir-71a.ln1@mithrandir.intranet> <slrnbeetj8.nla.sio2.arr@cebolleta.net.dhis.org> <3EE78150.38419124@terra.es> Reply-To: sio2.arr@ba.online.fr NNTP-Posting-Host: 22.red-80-37-129.pooles.rima-tde.net (80.37.129.22) Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: fu-berlin.de 1055365220 17115513 80.37.129.22 (16 [113866]) X-Orig-Path: cebolleta.net.dhis.org!news User-Agent: slrn/0.9.7.4 (Linux)