Spaces in the Terminal
iDid (6 pencils) | Mon, 2005-10-31 03:59Hello!
When we create a document, we can put spaces in his name.
But in Terminal, when I try to reach a document named (for example) "forfait déplacements.txt" (note the first Ecute... hmmm yes, I run a french OSX)
that's what I get:
"G5TOTOR:~/Documents idid$ cat forfait de??placements.txt
cat: forfait: No such file or directory
cat: de??placements.txt: No such file or directory
G5TOTOR:~/Documents idid$ "
So, my first question is: How can I type those damn spaced document names in the Terminal to get my information?
The second one is: how can I solve this accent problem?
Thanks!
iDid
Commenting on this Forum topic is closed.

Put a slash in front of any space, so that "hello world" becomes "hello\ world".
The accented E is unreasonably complicated for some reason, but to make life easy, you can just drag the file into the Terminal window. Its relative path will be put in automatically (along with a pesky trailing space that insists on tagging along).
FWIW, "héllo world" becomes "he\314\201llo\ world".
Thanks for the tip!