Mailinglist Archive: opensuse (3280 mails)

< Previous Next >
Re: [opensuse] Need help doing a batch conversation lf - cr/lf
  • From: Randall R Schulz <rschulz@xxxxxxxxx>
  • Date: Sat, 8 Dec 2007 14:19:44 -0800
  • Message-id: <200712081419.44950.rschulz@xxxxxxxxx>
On Saturday 08 December 2007 13:56, Carlos E. R. wrote:
The Friday 2007-12-07 at 09:06 -0500, Felix Miata wrote:
A lot of the files and some of the
directories have spaces in the name.


What idiot did that?

The M$ world has taught virtually everyone that spaces in filenames
are no problem. Each M$ user has these "folders":

And you can have them in linux, too. No problem. Why should it be a

As you say, they're not fundamentally a problem. In fact, Linux forbids
only two characters from file names, slash ('/') and NUL. Windows has
many more prohibited characters.

But they are an annoyance, at a minimum, in command-line programming.
Many scripts don't consider them and thus fail to quote variables that
contain them when passing them as arguments to commands they invoke or
as operands in other operations the script applies to those names.
Then, when a name with spaces or other characters special to the shell
is encountered, things go awry.

Carlos E. R.

Randall Schulz
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups