Subject: Re: CVS commit: src/gnu/dist/bc/dc
To: None <hubertf@NetBSD.org>
From: Robert Elz <kre@munnari.OZ.AU>
Date: 10/15/2003 03:58:11
Date: Mon, 13 Oct 2003 21:52:40 +0000 (UTC)
From: Hubert Feyrer <hubertf@NetBSD.org>
| Prevent funny output when giving a directory name on the command line.
Is that *really* necessary?
Lots of programs don't check to see if they've been given a directory (or
special file, or ...) when they expect an input file. Are you planning to
fix all of them to check and see if they happen to have been given the
wrong file type?
There has to be some user responsibility left - if the user does something
particularly stupid (as in "dc .." or "dc .") they ought to simply suffer
the stupid output, or other bizarre behaviour - as long as it does no harm
to the system, and thus one doesn't.