Subject: bin/2642: cmp -s prints output if files are missing
To: None <gnats-bugs@NetBSD.ORG>
From: Marc Horowitz N1NZU <marc@mit.edu>
List: netbsd-bugs
Date: 07/18/1996 00:40:30
>Number:         2642
>Category:       bin
>Synopsis:       cmp -s prints output if files are missing
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jul 18 01:05:01 1996
>Last-Modified:
>Originator:     Marc Horowitz N1NZU
>Organization:
MIT
>Release:        1.1
>Environment:
	
System: NetBSD planet-zorp 1.1 NetBSD 1.1 (ATHENAOTHER) #4: Thu Jan 18 03:29:37 EST 1996 ghudson@zygorthian-space-raiders:/u1/build/sys/arch/i386/compile/ATHENAOTHER i386


>Description:

	cmp -s will print a message to stderr if one of the files does
not exist.  Although the man page is ambiguous on this point, I
believe that -s should cause cmp to be silent.  This is the case on
irix 5.2, irix 5.3, sunos 4.1.4, and hpux 10.10, which are the other
platforms I happen to be logged in on right now.

>How-To-Repeat:

> cmp -s i-dont-exist and-neither-do-i
cmp: i-dont-exist: No such file or directory

>Fix:
>Audit-Trail:
>Unformatted: