Kernel Hacks & Weird Filenames
Andy Valencia
vandys at hpindda.HP.COM
Thu May 12 01:36:40 AEST 1988
/ hpindda:comp.unix.wizards / paul at csnz.nz (Paul Gillingwater) / 9:36 am May 10, 1988 /
>Does that mean that a naive user can make a file with a <SPACE>
>in the name? e.g. "John Doe" or "Job Cost" or other equally
>"intuitively correct" but WRONG names...:-)
Yes, it does:
Script started on Wed May 11 08:34:56 1988
$ cat > "John Doe"
This is stuff on J.D.
$ cat "John Doe"
This is stuff on J.D.
$ rm "John Doe"
$ exit
script done on Wed May 11 08:35:26 1988
You DO need the quotes, but saying it's WRONG is misleading;
I've used such file names in many applications to good effect.
Andy Valencia
vandys%hpindda.UUCP at hplabs.hp.com
More information about the Comp.unix.wizards
mailing list