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.

Full log


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.





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

Previous Next


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