Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!nrl-cmf!cmcl2!brl-adm!brl-smoke!gwyn
From: gwyn@brl-smoke.ARPA (Doug Gwyn )
Newsgroups: comp.unix.wizards
Subject: Re: Kernel Hacks & Weird Filenames
Message-ID: <7870@brl-smoke.ARPA>
Date: 11 May 88 14:21:21 GMT
References: <13041@brl-adm.ARPA> <4895@chinet.UUCP> <574@minya.UUCP> <5070@chinet.UUCP> <582@minya.UUCP> <24@csnz.nz>
Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) )
Organization: Ballistic Research Lab (BRL), APG, MD.
Lines: 22

In article <24@csnz.nz> paul@csnz.UUCP (Paul Gillingwater) writes:
>In article <582@minya.UUCP> jc@minya.UUCP (John Chambers) writes:
>>One of the nice things about Unix is that I can explain to a novice 
>>that the kernel (i.e., open() and exec()) only know about '/' and
>>null, and ALL other characters are equally acceptable. 
>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...:-)

Of COURSE "ALL other" means "ALL other"!  Since a space character
is not '/' and is not a null character, then it is covered by the
phrase.  How hard IS this to figure out?

Not only are such strings as "John Doe" "intuitively correct",
they are useful file names.  Some Bourne, Korn, or C-shell operations
are a bit more difficult to express correctly if some of your file
names contain special characters such as spaces, but that's all.
You shouldn't turn "naive users" loose in such an environment anyway.
Menu-driven applications could well allow these as "natural" file names.

I've found good use for this capability on several occasions.
Your notion of "WRONG" obviously does not fit my needs.