Subject: Re: directory names with spaces don't behave, perhaps a tcsh issue?
To: Zach Fine <zach@zachfine.com>
From: paul beard <paulbeard@mac.com>
List: netbsd-help
Date: 02/26/2002 08:32:37
either wrap the path in quotes or escape the space with a \
/usr/local/share/httpd/htdocs/zachfine/rambo/rambo\ III/bow
but yes, spaces are a Bad Idea.
Zach Fine wrote:
> I should probably know better than to create a directory whose name
> includes a space, but even if I do such a thing, shouldn't I be able
> to cd into and out of it?
>
> zach% pwd
> /usr/local/share/httpd/htdocs/zachfine/rambo/rambo III/bow
> zach% cd
> set: Syntax Error.
> zach% cd ..
> set: Syntax Error.
> zach% cd ".."
> set: Syntax Error.
> zach% cd /home/czyz
> set: Syntax Error.
> zach% cd "/home/czyz"
> set: Syntax Error.
> zach%
>
> This is on a NetBSD 1.4.1 system, I'm using tcsh.
>
> Any thoughts?
>
> Thanks.
>
> -Zach Fine
> zach@zachfine.com
>
>