Subject: bin/3538: cat of nonexistent file returns 0 exit status
To: None <gnats-bugs@gnats.netbsd.org>
From: None <davide@piper.nectar.cs.cmu.edu>
List: netbsd-bugs
Date: 04/25/1997 17:09:25
>Number: 3538
>Category: bin
>Synopsis: cat of nonexistent file returns 0 exit status
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: bin-bug-people (Utility Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Apr 25 14:20:02 1997
>Last-Modified:
>Originator: David Eckhardt
>Organization:
Carnegie Mellon University Computer Science Department
>Release: 1.2
>Environment:
System: NetBSD piper.nectar.cs.cmu.edu 1.1 NetBSD 1.1 (PIPER) #5: Tue Mar 18 17:50:12 EST 1997 davide@piper.nectar.cs.cmu.edu:/usr/davide/cmucs-netbsd/src/sys/arch/i386/compile/PIPER i386
>Description:
/bin/cat doesn't reflect nonexistent files in its exit status
>How-To-Repeat:
% cat /some/name/that/does/not/exist
% echo $status
0
>Fix:
>Audit-Trail:
>Unformatted: