GNU bug report logs - #9325
document that "all bets are off if the file contains non-unique join fields"

Previous Next

Package: coreutils;

Reported by: jidanni <at> jidanni.org

Date: Thu, 18 Aug 2011 21:29:01 UTC

Severity: normal

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 9325 in the body.
You can then email your comments to 9325 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-coreutils <at> gnu.org:
bug#9325; Package coreutils. (Thu, 18 Aug 2011 21:29:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to jidanni <at> jidanni.org:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Thu, 18 Aug 2011 21:29:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: jidanni <at> jidanni.org
To: bug-coreutils <at> gnu.org
Subject: document that "all bets are off if the file contains non-unique join
	fields"
Date: Fri, 19 Aug 2011 04:29:32 +0800
Mention in the join(1) documents that "all bets are off if the file
contains non-unique join fields", e.g.,
a
b
b
c
Also mention if you get this email.




Information forwarded to owner <at> debbugs.gnu.org, bug-coreutils <at> gnu.org:
bug#9325; Package coreutils. (Fri, 19 Aug 2011 09:26:01 GMT) Full text and rfc822 format available.

Message #8 received at 9325 <at> debbugs.gnu.org (full text, mbox):

From: Jim Meyering <jim <at> meyering.net>
To: jidanni <at> jidanni.org
Cc: 9325 <at> debbugs.gnu.org
Subject: Re: bug#9325: document that "all bets are off if the file contains
	non-unique join fields"
Date: Fri, 19 Aug 2011 11:23:45 +0200
jidanni <at> jidanni.org wrote:
> Mention in the join(1) documents that "all bets are off if the file
> contains non-unique join fields", e.g.,
> a
> b
> b
> c
> Also mention if you get this email.

Thanks for the suggestion.
Would you please suggest wording and where to put it?
(gasp! a patch ;-)




Reply sent to Pádraig Brady <P <at> draigBrady.com>:
You have taken responsibility. (Fri, 19 Aug 2011 10:19:01 GMT) Full text and rfc822 format available.

Notification sent to jidanni <at> jidanni.org:
bug acknowledged by developer. (Fri, 19 Aug 2011 10:19:02 GMT) Full text and rfc822 format available.

Message #13 received at 9325-done <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: jidanni <at> jidanni.org
Cc: 9325-done <at> debbugs.gnu.org
Subject: Re: bug#9325: document that "all bets are off if the file contains
	non-unique join fields"
Date: Fri, 19 Aug 2011 11:16:13 +0100
On 08/18/2011 09:29 PM, jidanni <at> jidanni.org wrote:
> Mention in the join(1) documents that "all bets are off if the file
> contains non-unique join fields", e.g.,
> a
> b
> b
> c
> Also mention if you get this email.

non unique fields are supported

$ join <(printf "%s\n" 'a 1' 'b 2' 'b 3' 'c 4') <(printf "%s\n" a b c)
a 1
b 2
b 3
c 4

cheers,
Pádraig.




Information forwarded to owner <at> debbugs.gnu.org, bug-coreutils <at> gnu.org:
bug#9325; Package coreutils. (Fri, 19 Aug 2011 11:49:02 GMT) Full text and rfc822 format available.

Message #16 received at 9325 <at> debbugs.gnu.org (full text, mbox):

From: jidanni <at> jidanni.org
To: 9325 <at> debbugs.gnu.org
Subject: Re: bug#9325: closed (Re: bug#9325: document that "all bets are off
	if the file contains non-unique join fields")
Date: Fri, 19 Aug 2011 19:46:29 +0800
OK, glad to know they are supported. Indeed,

$ join <(printf "%s\n" 'a 1' 'b 2' 'b 3' 'c 4') <(printf "%s\n" a b 'b 5' c c)
a 1
b 2
b 2 5
b 3
b 3 5
c 4
c 4

So be sure to mention it wherever you mention files must be in sorted
order.

I mean probably if you don't mention it, nobody will be sure what the
behavior will be.





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 17 Sep 2011 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 13 years and 276 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.