Quote:
Originally Posted by DaleDe
Bash man page says the following:
A simple command is a sequence of optional variable assignments followed by blank-separated words and redirections, and terminated by a control operator. The first word specifies the command to be executed, and is passed as argument zero. The remaining words are passed as arguments to the invoked command.
With the following definitions:
blank A space or tab.
word A sequence of characters considered as a single unit by the
shell. Also known as a token.
metacharacter
A character that, when unquoted, separates words. One of the
following: | & ; ( ) < > space tab
Thus a space is a metacharacter with special powers and not just a standard character. It requires special handling.
Dale
|
not to nit, to much

Nowhere does that say that file names can not have spaces.
What it says is : If a filename with spaces is used as a shell command or argument, the special treatment is required.
This is hardly different from windows: "C:\Program Files\Calibre2\calibre" must receive special treatment (inside quotes) when used in a Batch file or as an argument.