bug-coreutils
[Top][All Lists]
Advanced

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

bug#13453: comm


From: Dennis Miller
Subject: bug#13453: comm
Date: Wed, 16 Jan 2013 10:53:37 -0600

My version doesn't have those options.  I'm running GNU coreutils 
5.97-34.el5_8.1.  What version has these options?

-----Original Message-----
From: Bob Proulx [mailto:address@hidden
Sent: Wednesday, January 16, 2013 10:45 AM
To: Dennis Miller
Cc: address@hidden
Subject: Re: bug#13453: comm

tags 13453 + moreinfo
thanks

Dennis Miller wrote:
> Not really a bug per se, but a nice feature would be if a check was
> done to just sort the given files before hand.  If you don't sort it,
> you will get undesired output, and this would be a good safety check.

Have you seen the GNU comm --check-order and --nocheck-order options?
These options do exactly what you are asking for it to do.  Here is the 
documentation for them from the comm docs:

     If the `--check-order' option is given, unsorted inputs will cause a
  fatal error message.  If the option `--nocheck-order' is given,
  unsorted inputs will never cause an error message.  If neither of these
  options is given, wrongly sorted inputs are diagnosed only if an input
  file is found to contain unpairable lines.  If an input file is
  diagnosed as being unsorted, the `comm' command will exit with a
  nonzero status (and the output should not be used).

     Forcing `comm' to process wrongly sorted input files containing
  unpairable lines by specifying `--nocheck-order' is not guaranteed to
  produce any particular output.  The output will probably not correspond
  with whatever you hoped it would be.

  `--check-order'
       Fail with an error message if either input file is wrongly ordered.

  `--nocheck-order'
       Do not check that both input files are in sorted order.

Bob


> Privileged/Confidential Information may be contained in this message.
> If you are not the addressee indicated in this message (or responsible
> for delivery of the message to such person), you may not copy or
> deliver this message to anyone. In such case, you should destroy this
> message and kindly notify the sender by reply email. Please advise
> immediately if you or your employer does not consent to Internet email
> for messages of this kind. Opinions, conclusions and other information
> in this message that do not relate to the official business of my firm
> shall be understood as neither given nor endorsed by it.

READ CAREFULLY.  By reading this email, you agree, on behalf of your employer, 
to release me from all obligations and waivers arising from any and all 
NON-NEGOTIATED agreements, licences, terms-of-service, shrinkwrap, clickwrap, 
browsewrap, confidentiality, non-disclosure, non-compete and acceptable use 
policies ("BOGUS AGREEMENTS") that I have entered into with your employer, its 
partners, licensors, agents and assigns, in perpetuity, without prejudice to my 
ongoing rights and privileges.  You further represent that you have the 
authority to release me from any BOGUS AGREEMENTS on behalf of your employer.

Privileged/Confidential Information may be contained in this message. If you 
are not the addressee indicated in this message (or responsible for delivery of 
the message to such person), you may not copy or deliver this message to 
anyone. In such case, you should destroy this message and kindly notify the 
sender by reply email. Please advise immediately if you or your employer does 
not consent to Internet email for messages of this kind. Opinions, conclusions 
and other information in this message that do not relate to the official 
business of my firm shall be understood as neither given nor endorsed by it.





reply via email to

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