[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: missing exit status for CMP(1)

From: Bob Proulx
Subject: Re: missing exit status for CMP(1)
Date: Thu, 1 Mar 2012 02:35:42 -0700
User-agent: Mutt/1.5.21 (2010-09-15)

Kurt Bigler wrote:
> man cmp contains no info about exit status, although exit status is
> mentioned in relation to the -s option and I know I've used it in the past,
> so trial and error will tell me which way it works.

The Texinfo format is the preferred documentation format for the GNU
Project.  In the man page it says this:

       The full documentation for cmp is maintained as a Texinfo
       manual.  If the info and cmp programs are properly installed at
       your site, the command

              info cmp

       should give you access to the complete manual.

Note that if you are a "vi" person then you may want to use the
'info --vi-keys' option (or use the 'pinfo' command) which uses
vi-like key bindings for navigation.

In the Texinfo documentation it says:

     An exit status of 0 means no differences were found, 1 means some
  differences were found, and 2 means trouble.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]