View Single Post
Old 12-01-2009, 12:06 PM   #42
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
Quote:
Originally Posted by theducks View Post
Thanks for adding Clarity.
I was scratching my Head, "But there were spaces allowed in "Unix" file names when I used them it the 1980's, why would Linux 'remove' them? "
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
DaleDe is offline   Reply With Quote