delorie.com/archives/browse.cgi   search  
Mail Archives: opendos/1997/05/11/08:28:25

Date: Sun, 11 May 1997 07:15:04 -0400 (EDT)
From: "Mike A. Harris" <mharris AT blackwidow DOT saultc DOT on DOT ca>
Reply-To: "Mike A. Harris" <mharris AT blackwidow DOT saultc DOT on DOT ca>
To: -= ArkanoiD =- <ark AT mpak DOT convey DOT ru>
cc: ralsina AT ultra7 DOT unl DOT edu DOT ar, opendos AT delorie DOT com
Subject: Re: BIG suggestion for Opendos Features
In-Reply-To: <ACflJSpCM7@mpak.convey.ru>
Message-ID: <Pine.LNX.3.95.970511070931.2119D-100000@capslock.com>
Organization: Total disorganization.
MIME-Version: 1.0

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019