Re: how to mount a windows 'share' under linux
Incoming from Sam Watkins:
> On Sat, Nov 27, 2004 at 11:54:17AM -0800, Alvin Oga wrote:
> > watch out for dumb file anems like:
> > office birthday list
> > bob's projections
> > 'any other "dumb" file names' allowed in windoz, that is not
> > allowed in *nix
>
> I think the only characters not allowed in a unix filename are NUL (0) and /
True. That doesn't include the characters that are STUPID to use in a
Unix filename, such as &, |, *, -, ~, ...
There are ways to handle them, yes. Of course, it's smarter not to
use them. Too bad you can't outlaw foolishness.
> cp $A $B
>
> instead of:
>
> cp "$A" "$B"
Hacks like that are only necessary when fools are using foolish
filenames. Or when you're interacting with Windows; a foolish OS. I
doubt double quotes around the most egregiously wrong characters will
stop them from being used incorrectly.
--
Any technology distinguishable from magic is insufficiently advanced.
(*) http://www.spots.ab.ca/~keeling Please don't Cc: me.
- -
Reply to: