🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: [bash] test: too many arguments

#10359
From: Fernando Arbeiza
Date: Fri, 01 Mar 2002 21:30
22 lines
1424 bytes
On Fri, 1 Mar 2002 21:37:09 +0100, Benjam�n Albi�ana
<benjamin@lamanonegra.net.dhis.org> wrote:

No soy un experto, pero mira a ver si con las comillas te
funciona:
> if test ! -z "$(dir -1 /var/spool/news/failed.postings/)"
               ^                                          ^

	De esta forma, test s�lo encontrar� un argumento, no
varios como sucede al no poner comillas.

	Espero que sea eso.

-- 
Fernando Arbeiza
Cantabria, Spain



-- 
Fernando Arbeiza
Cantabria, Spain
Technical Details
Message-ID: <slrna7vsmq.6j8.arbeizaf@jupiter.olimpo>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!news.rediris.es!newsf01.ono.com!news.ono.com.POSTED!not-for-mail
References: <slrna7vpjf.mlg.benjamin@lamanonegra.net.dhis.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-01 13:30:15 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!news.rediris.es!newsf01.ono.com!news.ono.com.POSTED!not-for-mail
Newsgroups: es.comp.os.linux.programacion
From: Fernando Arbeiza <arbeizaf@ono.com>
Subject: Re: [bash] test: too many arguments
References: <slrna7vpjf.mlg.benjamin@lamanonegra.net.dhis.org>
Message-ID: <slrna7vsmq.6j8.arbeizaf@jupiter.olimpo>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-15
Content-Transfer-Encoding: 8bit
User-Agent: slrn/0.9.7.3 (Linux)
Lines: 22
Date: Fri, 01 Mar 2002 21:30:52 GMT
NNTP-Posting-Host: 62.42.152.184
X-Trace: news.ono.com 1015018252 62.42.152.184 (Fri, 01 Mar 2002 22:30:52 MET)
NNTP-Posting-Date: Fri, 01 Mar 2002 22:30:52 MET