Mail Archives: opendos/1997/05/11/08:28:25
On Thu, 8 May 1997, -= ArkanoiD =- wrote:
> > It looks ok to me. Not a single \ here! :-)
> >
> > You *can* also do
> > $ ls -l This\ is\ a\ spaced\ filename
> >
> > -rw-r--r-- 1 ralsina users 0 May 8 09:31 This is a spaced filename
> >
> > But it's not like it's forcing you :-).
> >
>
> Just tried the same with OpenDOS. touch failed - so i created it via
> "spc name". then ls failed to stat and rm failed to remove ;)
ls? rm? In OpenDOS or Linux? Spaces are illegal in DOS
filenames so if ls/rm/whatever failed to remove the files in
either OS, I wouldn't be surprised. I get rid of spaces in DOS
filenames by manually editing the directory entries in Norton
DISKEDIT, or use Norton Disk Doctor (NDD /NOSPACES).
Anyways, the point was that the original poster said that dealing
with spaced filenames in Linux was a pain, and that the display
of filenames was riddled with escape characters ("\"). In
reality however, an "ls" in Linux displays spaced filenames as
you'd expect ("This is a ...") without the quotes of course.
Also typing such filenames is easy, either quote them, or use the
escape character in front of each space, or use filename
completion.
I think that is the point that he was trying to make.
TTYL
Mike A. Harris | http://blackwidow.saultc.on.ca/~mharris
Computer Consultant | Coming soon: dynamic-IP-freedom...
My dynamic address: http://blackwidow.saultc.on.ca/~mharris/ip-address.html
Email: mharris at blackwidow.saultc.on.ca <-- Spam proof address
WABI: A commercial Windows emulator for Linux. http://www.caldera.com
- Raw text -