www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/11/27/20:15:52

Message-ID: <329D0218.4481@gbrmpa.gov.au>
Date: Thu, 28 Nov 1996 11:08:11 +0800
From: Leath Muller <leathm AT gbrmpa DOT gov DOT au>
Reply-To: leathm AT gbrmpa DOT gov DOT au
Organization: Great Barrier Reef Marine Park Authority
MIME-Version: 1.0
To: Chris Waters <design AT netcom DOT com>
CC: djgpp AT delorie DOT com
Subject: Re: Changing directories in BASH
References: <Pine DOT SUN DOT 3 DOT 91 DOT 961127081248 DOT 5811A-100000 AT is> <designE1Jp8o DOT F3D AT netcom DOT com>

> >Since Unix generally doesn't support such directory names, I'd guess
> >`bash' fails to support them too.
 
> WHY DO PEOPLE KEEP SAYING THIS??  Unix supports file/directory names
> with spaces JUST FINE!  Posting statements about OSes you aren't
> familiar with on the net is not a good idea!
 
> An OBVIOUS reason why bash won't change to "c:\Program Files" is that
> the backslash (\) has a special meaning under bash.  Unix uses a forward
> slash (/) as a directory seperator, and bash probably expects the same.

Exactly...  :)  You can do things two ways with filenames and spaces
under
Unix, you can either:

cd "She eats big ones", or
cd She\ eats\ big\ ones/

Leathal.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019