Date: Wed, 25 Aug 1999 04:04:39 +0200 From: Roelof Osinga <roelof@nisser.com> To: Greg Lehey <grog@lemis.com> Cc: Patrick Seal <patseal@hyperhost.net>, freebsd-questions@FreeBSD.ORG Subject: Re: Bash: space in cd arg bug? Message-ID: <37C34F37.5BE733A2@nisser.com> References: <19990824213027.A1375@hyperhost.net> <19990825111131.C83273@freebie.lemis.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Greg Lehey wrote: > > On Tuesday, 24 August 1999 at 21:30:27 -0400, Patrick Seal wrote: > > cd /usr/local/win/Program\ Files/ > > or > > cd "/usr/local/win/Program Files/" > > > > both work tcsh, csh, sh, but in bash they result in an error: > > bash: cd: /usr/local/win/Program: No such file or directory > > > > I can only think this is a bash bug, but it's so obvious it *should* have > > been fixed long ago. > > You'd think so, wouldn't you? > > > Is this happening to anyone else? > > Yes. I changed to zsh because of it. nisser:~$ mkdir "Program Files" nisser:~$ ls Desktop/ country.txt heimdall/ ns_imap/ Pinger/ dead.letter local-linux.mc roelof/ Program Files/ donar/ mail/ tmp/ c/ ftp/ mbox www/ nisser:~$ cd Program\ Files/ nisser:~/Program\ Files$ nisser:~/Program\ Files$ cd / nisser:/$ cd /home/roelof/Program\ Files/ nisser:~/Program\ Files$ echo $BASH $BASH $BASH_VERSINFO $BASH_VERSION nisser:~/Program\ Files$ echo $BASH_VERSION 2.02.1(1)-release nisser:~/Program\ Files$ cd .. nisser:~$ rmdir Program\ Files/ nisser:~$ ls Desktop/ country.txt ftp/ mail/ roelof/ Pinger/ dead.letter heimdall/ mbox tmp/ c/ donar/ local-linux.mc ns_imap/ www/ nisser:~$ You were saying? ;) Roelof -- Home is where the (@) http://eboa.com/ is. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37C34F37.5BE733A2>