Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10 beta 3/9/83; site cwruecmp.UUCP
Path: utzoo!linus!decvax!cwruecmp!decot
From: decot@cwruecmp.UUCP (Dave Decot)
Newsgroups: net.unix,net.lang.c
Subject: Re: 'exit(1);' considered useless (slight flame)
Message-ID: <957@cwruecmp.UUCP>
Date: Tue, 7-Feb-84 17:19:33 EST
Article-I.D.: cwruecmp.957
Posted: Tue Feb  7 17:19:33 1984
Date-Received: Thu, 9-Feb-84 22:19:47 EST
References: <934@cbosgd.UUCP>
Organization: CWRU Computer Engr. Cleveland, Ohio
Lines: 23

Perror() is not good because it discourages specific messages.  The shells
should say:

    % file
    file: data; not executable
or
    file: program not executable by you

instead of

    % file
    file: permission denied

Also, why do we get:

    % cd /user/bin
    /user/bin: No such file or directory

when the argument to cd is never supposed to be a file?  Somebody used
the convenient perror() instead of writing a specific message.

Dave Decot		 "Non-Americans are people, too."
decvax!cwruecmp!decot    (Decot.Case@rand-relay)