[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
spaces in filenames
- To: linux-il(at-nospam)linux.org.il
- Subject: spaces in filenames
- From: Oleg Goldshmidt <ogoldshmidt(at-nospam)comgates.co.il>
- Date: 26 Dec 2000 18:14:09 +0200
- Delivered-To: linux.org.il-linux-il@linux.org.il
- Sender: ogoldshmidt(at-nospam)comgates.co.il
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
- User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)
Hi, I see the following weird phenomenon: bash cannot recognize
filenames or directories that have spaces, unless I am root/su. This
is a typical example:
$ mkdir "Foo Bar"
$ cd Foo\ Bar/
bash: cd: Foo: No such file or directory
$ su
Password:
# cd Foo\ Bar/
/home/oleg/tmp/Foo Bar
Platform: RH7.0 with kernel 2.2.16-22 on i686.
It does look like a bug in bash, since zsh, ksh, or tcsh work just
fine.
It seems that the bash version is the latest (did RH screw anything
up?):
$ bash --version
GNU bash, version 2.04.11(1)-release (i386-redhat-linux-gnu)
Copyright 1999 Free Software Foundation, Inc.
Does anyone know if it is a known bug? Fixes? I did not find a known
bug list for bash on the net. I'll use bashbug if no one reacts
shortly.
Just in case anyone thinks I am crazy to put spaces into filenames,
I need to access shared files on an NT server from my Linux.
--
Oleg Goldshmidt | Comgates Ltd. | ogoldshmidt@NOSPAM.comgates.co.il
"... We work by wit, and not by witchcraft;
And wit depends on dilatory time." [Shakespeare]
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il