๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: ch.comp.os.linux
Article #20677

Re: if auf tarfile

#20677
From: Roland Schneider
Date: Wed, 15 Sep 1999 00:00
18 lines
1184 bytes
Florian Steurer <florian.steurer@alcatel.ch> wrote in ch.comp.os.linux:
[...]
>mit einer if Anweisung. Wuerde es sich um ein normales File handeln
>ware, das
>ganze kein Problem und man koennte die Variabel mit der Option -f testen
>
>if  [ -f $variabel ]
>then etc...
>
>....aber es
>handelt sich um ein tarfile...und ein tarfile wird anscheinend nicht als

Auch ein tar-file ist ein 'normales' file.
'Abnormale' sind Devices, Syminks und Sockets und Directories.

'man test' gibt alle m๏ฟฝglichen Testoperatoren aus.

Roland
Technical Details
Message-ID: <9ZrfN7WMtMQAkzAnTSZUIl5GJlml@4ax.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <37DF9435.749407DC@alcatel.ch>

Show Full Headers
Complete Article Headers
X-Google-Language: GERMAN,ASCII
X-Google-Thread: f4b73,236d0e8b809680f3
X-Google-Attributes: gidf4b73,public
From: Roland Schneider <rs@9909.pop.cx>
Subject: Re: if auf tarfile
Date: 1999/09/15
Message-ID: <9ZrfN7WMtMQAkzAnTSZUIl5GJlml@4ax.com>
X-Deja-AN: 525407601
Content-Transfer-Encoding: 8bit
References: <37DF9435.749407DC@alcatel.ch>
Content-Type: text/plain; charset=ISO-8859-1
X-Complaints-To: newsmaster@access.ch
X-Trace: pacifica.access.ch 937401332 9499 195.112.75.197 (15 Sep 1999 13:15:32 GMT)
Organization: Small
Mime-Version: 1.0
NNTP-Posting-Date: 15 Sep 1999 13:15:32 GMT
Newsgroups: ch.comp.os.linux