🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #10428

Re: [bash] test: too many arguments

#10428
From: Claudio S.
Date: Wed, 06 Mar 2002 15:27
20 lines
1541 bytes
El 03 Mar 2002 21:27:12 +0100, Ignacio Arenaza
<iarenaza@eb2ebu.ampr.org> escribi�:
> -----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

Pues es verdad! Jurar�a haber usado el -f expr_con_comodin alguna
vez, pero est� claro que no.

El caso que plantea(s) Benja yo siempre lo he resuelto tal que as�:

mv /directiorio1/* /directorio2/ 2> /dev/null

Un saludo.
--claudio--
Technical Details
Message-ID: <ihc56a.jj.ln@127.0.0.1>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!139.red-80-59-173.pooles.rima-tde.NET!not-for-mail
References: <slrna7vpjf.mlg.benjamin@lamanonegra.net.dhis.org> <olet5a.i61.ln@127.0.0.1> <87r8n1qtwf.fsf@eb2ebu.ampr.org>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,f967119e962785f0
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2002-03-06 07:20:23 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!139.red-80-59-173.pooles.rima-tde.NET!not-for-mail
From: "Claudio S." <claudio@dev.null.org>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: [bash] test: too many arguments
Date: Wed, 6 Mar 2002 16:27:46 +0100
Lines: 21
Message-ID: <ihc56a.jj.ln@127.0.0.1>
References: <slrna7vpjf.mlg.benjamin@lamanonegra.net.dhis.org> <olet5a.i61.ln@127.0.0.1> <87r8n1qtwf.fsf@eb2ebu.ampr.org>
NNTP-Posting-Host: 139.red-80-59-173.pooles.rima-tde.net (80.59.173.139)
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: fu-berlin.de 1015428020 11744487 80.59.173.139 (16 [130458])
X-Orig-Path: 127.0.0.1!nobody
User-Agent: slrn/0.9.7.3 (Linux)