Article View: es.comp.os.linux.programacion
Article #10406Re: [bash] test: too many arguments
From: Ignacio Arenaza
Date: Sun, 03 Mar 2002 20:27
Date: Sun, 03 Mar 2002 20:27
26 lines
1898 bytes
1898 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
>>>>> "Claudio" == Claudio S <claudio@dev.null.org> writes:
Claudio> if [ -f /var/spool/news/failed.postings/* ] ...
Esto tampoco va a funcionar, ya que el shell al expandir el '*' va a
hacer que haya multiples parametros para test y de nuevo se va a
quejar, ya que el solo espera un unico parametro: la ruta del fichero
a comprobar.
Saludos. I�aki.
- --
Get PGP/GPG Keys at http://www.escomposlinux.org/iarenaza/pgpkey.html
I use free software / Yo uso software libre
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Processed by Mailcrypt and GPG
iD8DBQE8gocfZXLnGT1HLgcRAm0vAJ9NOj6xZjAWfSOf3lZA6Ay2vb4kagCfecde
VX9CsSuXeZiIuLbMPj2me7Y=
=TP7o
-----END PGP SIGNATURE-----
Technical Details
Message-ID:
<87r8n1qtwf.fsf@eb2ebu.ampr.org>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!netnews.com!opentransit.net!newsfeed.comtenidos.com!newsfeeder.wanadoo.es!eb2ebu.ampr.org!not-for-mailReferences:
<slrna7vpjf.mlg.benjamin@lamanonegra.net.dhis.org> <olet5a.i61.ln@127.0.0.1>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: f86c8,f967119e962785f0 X-Google-Attributes: gidf86c8,public X-Google-ArrivalTime: 2002-03-04 14:01:09 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!netnews.com!opentransit.net!newsfeed.comtenidos.com!newsfeeder.wanadoo.es!eb2ebu.ampr.org!not-for-mail From: Ignacio Arenaza <iarenaza@eb2ebu.ampr.org> Newsgroups: es.comp.os.linux.programacion Subject: Re: [bash] test: too many arguments Date: 03 Mar 2002 21:27:12 +0100 Organization: Servidor NNTP de eb2ebu.ampr.org Lines: 26 Message-ID: <87r8n1qtwf.fsf@eb2ebu.ampr.org> References: <slrna7vpjf.mlg.benjamin@lamanonegra.net.dhis.org> <olet5a.i61.ln@127.0.0.1> NNTP-Posting-Host: 62-36-89-88.dialup.uni2.es Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.wanadoo.es 1015278734 5370 62.36.89.88 (4 Mar 2002 21:52:14 GMT) X-Complaints-To: usenet@wanadoo.es NNTP-Posting-Date: Mon, 4 Mar 2002 21:52:14 +0000 (UTC) User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7