Mailinglist Archive: opensuse (3280 mails)

< Previous Next >
Re: [opensuse] Need help doing a batch conversation lf - cr/lf
  • From: Aaron Kulkis <akulkis00@xxxxxxxxxx>
  • Date: Sun, 09 Dec 2007 06:00:08 -0500
  • Message-id: <475BCAB8.4090807@xxxxxxxxxx>
Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



The Saturday 2007-12-08 at 14:19 -0800, Randall R Schulz wrote:

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

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.

As a user, I use them. As a programmer, when I write a script, I curse myself :-p

I just make namesLikeThis and names.like.that

too easy, and saves OODLES of heartache.


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

< Previous Next >