Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Bug with Case insensitive completion' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Bug with Case insensitive completion
Authored by: nuditarian on Mar 18, '04 01:46:32AM

I believe what you're seeing is bash's handling of spaces in files. For instance a folder called test test will show up as test\ test/

the \ preceding a space is just a way to keep the variable from being broken up. The alternate way is to enclose the folder/file name in quotes. So I can type cd test\ test, or cd "test test"

if you do ls, the folder/file will just show up as test test. If you try to cd test test, bash will see test test as 2 arguments instead of one. Win2k/XP commandline is the only one I've seen that allows spaces in file names when using basic directory commands, e.g. dir, cd.



[ Reply to This | # ]