Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!ucsd!sdcsvax!ucsdhub!hp-sdd!hplabs!hpda!hpcupt1!hpcuhb!hpindda!vandys
From: vandys@hpindda.HP.COM (Andy Valencia)
Newsgroups: comp.unix.wizards
Subject: Re: Kernel Hacks & Weird Filenames
Message-ID: <4470004@hpindda.HP.COM>
Date: 11 May 88 15:36:40 GMT
References: <13041@brl-adm.ARPA>
Organization: HP Technical Networks, Cupertino, Calif.
Lines: 20

/ hpindda:comp.unix.wizards / paul@csnz.nz (Paul Gillingwater) /  9:36 am  May 10, 1988 /
>Does that mean that a naive user can make a file with a 
>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@hplabs.hp.com