Why are there 2 separate binaries for /usr/bin/sort and
/usr/xpg4/bin/sort? From looking at it the only difference is option
-c.
sort(1) says:
  /usr/bin/sort
     -c    Checks that the single input file is ordered as speci-
           fied  by  the  arguments and the collating sequence of
           the current locale. The exit code is set and no output
           is produced unless the file is out of sort.


  /usr/xpg4/bin/sort
     -c              Same as /usr/bin/sort except  no  output  is
                     produced under any circumstances.

But why is this a problem? I thought error messages are
notaninterface? Or is this the exception of the common rule?

Olga
-- 
      ,   _                                    _   ,
     { \/`o;====-    Olga Kryzhanovska   -====;o`\/ }
.----'-/`-/     [email protected]   \-`\-'----.
 `'-..-| /     Solaris/BSD//C/C++ programmer   \ |-..-'`
      /\/\                                     /\/\
      `--`                                      `--`
_______________________________________________
shell-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/shell-discuss

Reply via email to