On Apr 3, 2010, at 01:55:34 +0200, [email protected] wrote:

> 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?

The contents of diagnostic messages are usually not-an-interface.
The fact that a diagnostic message is produced is an interface.

 - Don

> 
> Olga
_______________________________________________
shell-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/shell-discuss

Reply via email to