[ale] perl / filesystem script
Eric Z. Ayers
eric.ayers at mindspring.com
Mon Oct 25 20:18:08 EDT 1999
Er. right, except for in this case, this has been a a Mac behavior for
years. Folks, you *can* name files with spaces in Unix (and Linux).
You just have to be smart when you do things with those filenames in
the shell (like surround the name with quotes.) If yo
$ touch "this is a filename with spaces"
$ ls -l
-rw-rw-r-- 1 eric eric 0 Oct 25 20:16 this is a filename with spaces
$ ls -l this is a file with spaces
ls: this: No such file or directory
ls: is: No such file or directory
ls: a: No such file or directory
ls: filename: No such file or directory
ls: with: No such file or directory
ls: spaces: No such file or directory
ls -l "this is a file with spaces"
-rw-rw-r-- 1 eric eric 0 Oct 25 20:16 this is a file with spaces
-Eric.
No One writes:
> M$ is known for purposely creating new behaviors with the express purpose of
> causing problems for
> competing products. Keep this in mind whenever an M$ product seems to exhibit
> strange default behaviors.
>
> Ed.
>
> Sue Bauer-Lee wrote:
>
> > Folks -
> >
> > Keep in mind that this file naming scheme is a default behaviour of
> > Microsoft products. The users' fault lies in not knowing enough
> > to change filenames to REMOVE spaces when saving.
> >
> > >snip<
More information about the Ale
mailing list