Article View: es.comp.os.linux.programacion
Article #9839Re: parametros en rutinas
From: J.A. Gutierrez
Date: Fri, 10 May 2002 09:28
Date: Fri, 10 May 2002 09:28
26 lines
1653 bytes
1653 bytes
Claudio S. <claudio@ningun.sitio.es> wrote: : echo $variable | grep / >/dev/null : RET=$? para ahorrar un "echo": if expr "$variable" : '.*\/' >/dev/null 2>&1 then echo si fi para ahorrarse redirecciones y variables con grep: if echo $variable | fgrep -q / then echo si fi -- PGP and other useless info at \ http://www.cps.unizar.es/~spd/ \ finger://daphne.cps.unizar.es/spd \ Timeo Danaos et dona ferentes ftp://ivo.cps.unizar.es/pub/ \ (Virgilio)
Technical Details
Message-ID:
<abg3sd$nah$2@news.unizar.es>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!xmission!news-out.spamkiller.net!propagator2-maxim!propagator-maxim!news-in.spamkiller.net!out.nntp.be!propagator2-SanJose!propagator-SanJose!in.nntp.be!news.telia-iberia.com!news.rediris.es!news.unizar.es!not-for-mailReferences:
<ab8uom$g90gn$1@ID-126751.news.dfncis.de> <slrnadgnem.129.claudio@huron.algomas.org>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f86c8,d5e7a55d4ab0f3bb
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2002-05-10 15:45:33 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!xmission!news-out.spamkiller.net!propagator2-maxim!propagator-maxim!news-in.spamkiller.net!out.nntp.be!propagator2-SanJose!propagator-SanJose!in.nntp.be!news.telia-iberia.com!news.rediris.es!news.unizar.es!not-for-mail
From: "J.A. Gutierrez" <spd@daphne.cps.unizar.es>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: parametros en rutinas
Date: 10 May 2002 09:28:45 GMT
Organization: Rank
Lines: 26
Message-ID: <abg3sd$nah$2@news.unizar.es>
References: <ab8uom$g90gn$1@ID-126751.news.dfncis.de> <slrnadgnem.129.claudio@huron.algomas.org>
NNTP-Posting-Host: daphne.cps.unizar.es
X-Trace: news.unizar.es 1021022925 23889 155.210.152.20 (10 May 2002 09:28:45 GMT)
X-Complaints-To: usenet@news.unizar.es
NNTP-Posting-Date: 10 May 2002 09:28:45 GMT
User-Agent: tin/1.4.5-20010409 ("One More Nightmare") (UNIX) (IRIX/6.2 (IP22))