Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Aug 1999 04:53:38 +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:  <37C35AB2.B46601D6@nisser.com>
References:  <19990824213027.A1375@hyperhost.net> <19990825111131.C83273@freebie.lemis.com> <37C34F37.5BE733A2@nisser.com> <19990825114804.E83273@freebie.lemis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Greg Lehey wrote:
> 
> On Wednesday, 25 August 1999 at  4:04:39 +0200, Roelof Osinga wrote:

> > nisser:~$ mkdir "Program Files"
> > <snip>
> 
>   zsh -> FOO=/C:/Program\ Files
>   zsh -> echo $FOO
>   /C:/Program Files
>   zsh -> cd $FOO
>   zsh -> pwd
>   /C:/Program Files
>   zsh -> cd
>   zsh -> bash
>   bash -> FOO=/C:/Program\ Files
>   bash -> echo $FOO
>   /C:/Program Files
>   bash -> cd $FOO
>   bash: cd: /C:/Program: No such file or directory
>   bash ->

nisser:~$ declare -x FOO=Program\ Files/
nisser:~$ echo $FOO
Program Files/
nisser:~$ cd $FOO
bash: cd: Program: No such file or directory
nisser:~$ cd "$FOO"
nisser:~/Program\ Files$

> > You were saying? ;)
> 
> I changed to zsh because of it.

I hear what you're saying <g>. I mean, I like bash. It's like me.
It comes with an instruction manual <g>.

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?37C35AB2.B46601D6>