Subject: Re: CVS commit: src/gnu/dist/bc/dc
To: Vesa Norrman <firstname.lastname@example.org>
From: Eric Haszlakiewicz <email@example.com>
Date: 10/15/2003 09:23:13
On Wed, Oct 15, 2003 at 03:23:16PM +0300, Vesa Norrman wrote:
> > | 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?
> Fixed cat would be good.
why bother? The extra stat call will just slow things down for, IMO,
little gain. So what if you get mostly unreadable output when running cat on
a directory? You'll get mostly unreadable output if you try to cat /bin/ls,