🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: be.comp.programming
Article #10766

Re: Spatie(s) in dir-naam

#10766
From: Philip Paeps
Date: Thu, 28 Feb 2002 07:51
22 lines
1751 bytes
edca <edca@tiscalinet.be> wrote:
> Verwijzend naar een bestand in een directorie met spaties in de dir-naam
> geeft problemen als je deze in een commando regel opneemt. Hoe doet men dat
> dan ook weer ?

Quoten of escapen met een backslash?

(philip@mercurius)~% mkdir "this is a test"
(philip@mercurius)~% cd "this is a test"
(philip@mercurius)~/this is a test% cd ..
(philip@mercurius)~% cd this\ is\ a\ test
(philip@mercurius)~/this is a test% cd ..

 - Philip

-- 
Philip Paeps                                                   philip@paeps.cx

  In any bureaucracy, paperwork increases as you spend
  more and more time reporting on the less and less you
  are doing.  Stability is achieved when you spend all of
  your time reporting on the nothing you are doing.
Technical Details
Message-ID: <Sjlf8.208720$rt4.21389@afrodite.telenet-ops.be>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news-x2.support.nl!newsfeeds.belnet.be!news.belnet.be!ossa.telenet-ops.be!afrodite.telenet-ops.be.POSTED!not-for-mail
References: <lXkf8.208671$rt4.21222@afrodite.telenet-ops.be>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fcea4,d65649cb72aed1e8
X-Google-Attributes: gidfcea4,public
X-Google-ArrivalTime: 2002-02-27 23:51:14 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news-x2.support.nl!newsfeeds.belnet.be!news.belnet.be!ossa.telenet-ops.be!afrodite.telenet-ops.be.POSTED!not-for-mail
From: Philip Paeps <philip@paeps.cx>
Subject: Re: Spatie(s) in dir-naam
Newsgroups: be.comp.programming
References: <lXkf8.208671$rt4.21222@afrodite.telenet-ops.be>
User-Agent: tin/1.5.11-20020130 ("Toxicity") (UNIX) (FreeBSD/4.5-STABLE (i386))
Lines: 22
Message-ID: <Sjlf8.208720$rt4.21389@afrodite.telenet-ops.be>
Date: Thu, 28 Feb 2002 07:51:14 GMT
NNTP-Posting-Host: 213.118.35.252
X-Complaints-To: abuse@pandora.be
X-Trace: afrodite.telenet-ops.be 1014882674 213.118.35.252 (Thu, 28 Feb 2002 08:51:14 MET)
NNTP-Posting-Date: Thu, 28 Feb 2002 08:51:14 MET
Organization: Telenet Internet