[ I trimmed off current. ]

:- > Suppose I *want* a filename called "-"?  My tough luck, huh?
:- Could you settle for "./-"? 

I wouldn't want to.  Consider:  I have a program that takes user
input (from an option or a file or whatever) and uses that to
compose an output file name.  With the above I have to either 
test for "magic" filenames, or I have to correctly re-write
filenames to prepend "./" when appropriate (and  *only* when
appropriate). Sure, it can be done, but it isn't trivial work
and it has to be done to every program or you have a unexpected
lurking bug.

IMO, "magic" filenames are bad design.  Orthogonality should always
win out.

-- 
Robert Withrow -- (+1 978 288 8256)
[EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to