GNU bug report logs - #32308
doc: join: mention whitespace is significant

Previous Next

Package: coreutils;

Reported by: Dima Kogan <dima <at> secretsauce.net>

Date: Mon, 30 Jul 2018 03:12:01 UTC

Severity: wishlist

To reply to this bug, email your comments to 32308 AT debbugs.gnu.org.

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

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


Report forwarded to bug-coreutils <at> gnu.org:
bug#32308; Package coreutils. (Mon, 30 Jul 2018 03:12:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Dima Kogan <dima <at> secretsauce.net>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Mon, 30 Jul 2018 03:12:02 GMT) Full text and rfc822 format available.

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

From: Dima Kogan <dima <at> secretsauce.net>
To: bug-coreutils <at> gnu.org
Subject: join doesn't ignore trailing whitespace
Date: Sun, 29 Jul 2018 20:11:04 -0700
[Message part 1 (text/plain, inline)]
Hi. It appears that join doesn't ignore trailing whitespace, resulting
in surprising results. I'm attaching two data files. one is the output
of 'seq 5', and the other is the same thing, but with a trailing space
added to each line. Look:

  dima <at> scrawny:~$ join -j 1 -e - -o auto /tmp/dat.no.trailing.space /tmp/dat.no.trailing.space 
  1
  2
  3
  4
  5

  dima <at> scrawny:~$ join -j 1 -e - -o auto /tmp/dat.trailing.space /tmp/dat.trailing.space   
  1 - -
  2 - -
  3 - -
  4 - -
  5 - -

I guess the manpage isn't explicit about what happens in this case, but
as a user, I find this to be extremely surprising, and this thus feels
like a bug. Thanks.

(I'm not subscribed to the list, so please Cc me in replies)

[dat.no.trailing.space (application/octet-stream, attachment)]
[dat.trailing.space (application/octet-stream, attachment)]

Information forwarded to bug-coreutils <at> gnu.org:
bug#32308; Package coreutils. (Tue, 30 Oct 2018 03:50:02 GMT) Full text and rfc822 format available.

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

From: Assaf Gordon <assafgordon <at> gmail.com>
To: Dima Kogan <dima <at> secretsauce.net>, 32308 <at> debbugs.gnu.org
Subject: Re: bug#32308: join doesn't ignore trailing whitespace
Date: Mon, 29 Oct 2018 21:48:54 -0600
severity 32308 wishlist
retitle 32308 doc: join: mention whitespace is significant
stop

Hello,

On 2018-07-29 9:11 p.m., Dima Kogan wrote:
> It appears that join doesn't ignore trailing whitespace, resulting
> in surprising results. 
[...]
 > I guess the manpage isn't explicit about what happens in this case, but
> as a user, I find this to be extremely surprising, and this thus feels
> like a bug.

I've marked this as a wishlist item - to be improved in the future.

-assaf




Severity set to 'wishlist' from 'normal' Request was from Assaf Gordon <assafgordon <at> gmail.com> to control <at> debbugs.gnu.org. (Tue, 30 Oct 2018 03:50:03 GMT) Full text and rfc822 format available.

Changed bug title to 'doc: join: mention whitespace is significant' from 'join doesn't ignore trailing whitespace' Request was from Assaf Gordon <assafgordon <at> gmail.com> to control <at> debbugs.gnu.org. (Tue, 30 Oct 2018 03:50:03 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 234 days ago.

Previous Next


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