GNU bug report logs -
#52033
a bug in paste command
Previous Next
Reported by: "Visser, Gerard" <gvisser <at> indiana.edu>
Date: Mon, 22 Nov 2021 08:41:02 UTC
Severity: normal
Tags: notabug
Done: Paul Eggert <eggert <at> cs.ucla.edu>
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 52033 in the body.
You can then email your comments to 52033 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-coreutils <at> gnu.org
:
bug#52033
; Package
coreutils
.
(Mon, 22 Nov 2021 08:41:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
"Visser, Gerard" <gvisser <at> indiana.edu>
:
New bug report received and forwarded. Copy sent to
bug-coreutils <at> gnu.org
.
(Mon, 22 Nov 2021 08:41:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
hi,
Hard as it is for me to believe, it seems I have uncovered a bug in the paste command. I got unexpected/incorrect results in the course of my work (which I can describe as merging two data files from some electronic test equipment for the purposes of analysis and plotting). Attached is a tarfile of a test case with two files and a log showing the incorrect results and the version info of paste.
I hope this email will reach the right people to investigate this.
If it is a known issue and there is a workaround for me to use, please do let me know.
Thanks, sincerely,
Gerard Visser
EE, Indiana University
[Message part 2 (text/html, inline)]
[pastebug.tar (application/x-tar, attachment)]
Information forwarded
to
bug-coreutils <at> gnu.org
:
bug#52033
; Package
coreutils
.
(Mon, 22 Nov 2021 15:08:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 52033 <at> debbugs.gnu.org (full text, mbox):
Hi,
On Mon, Nov 22, 2021 at 05:23:33AM +0000, Visser, Gerard wrote:
> Hard as it is for me to believe, it seems I have uncovered a bug in the paste command. I got unexpected/incorrect results in the course of my work (which I can describe as merging two data files from some electronic test equipment for the purposes of analysis and plotting). Attached is a tarfile of a test case with two files and a log showing the incorrect results and the version info of paste.
> I hope this email will reach the right people to investigate this.
> If it is a known issue and there is a workaround for me to use, please do let me know.
It is only your terminal emulator that tricks you: Your file contains
carriage returns that moves cursor to the first column, so that next
line will appear on top of the previous.
$ file e f
e: ASCII text, with CRLF line terminators
f: ASCII text, with CRLF line terminators
If you do `paste e f | cat -A`, you can see it yourself what's going on.
Use `tr -d '\r'` to remove unwanted CRs.
--
zsugabubus
Information forwarded
to
bug-coreutils <at> gnu.org
:
bug#52033
; Package
coreutils
.
(Mon, 22 Nov 2021 15:08:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 52033 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hello,
My apologies for the false bug report, you are quite right and I should have thought of this possibility. Burned again by naively taking files from Windows systems. Oh well.
Thank you for taking the time to point this out, I will be more careful in future. Please close the case.
Sincerely,
Gerard
________________________________
From: zsugabubus <at> national.shitposting.agency <zsugabubus <at> national.shitposting.agency>
Sent: Monday, November 22, 2021 4:42 AM
To: Visser, Gerard <gvisser <at> indiana.edu>
Cc: 52033 <at> debbugs.gnu.org <52033 <at> debbugs.gnu.org>
Subject: Re: bug#52033: a bug in paste command
Hi,
On Mon, Nov 22, 2021 at 05:23:33AM +0000, Visser, Gerard wrote:
> Hard as it is for me to believe, it seems I have uncovered a bug in the paste command. I got unexpected/incorrect results in the course of my work (which I can describe as merging two data files from some electronic test equipment for the purposes of analysis and plotting). Attached is a tarfile of a test case with two files and a log showing the incorrect results and the version info of paste.
> I hope this email will reach the right people to investigate this.
> If it is a known issue and there is a workaround for me to use, please do let me know.
It is only your terminal emulator that tricks you: Your file contains
carriage returns that moves cursor to the first column, so that next
line will appear on top of the previous.
$ file e f
e: ASCII text, with CRLF line terminators
f: ASCII text, with CRLF line terminators
If you do `paste e f | cat -A`, you can see it yourself what's going on.
Use `tr -d '\r'` to remove unwanted CRs.
--
zsugabubus
[Message part 2 (text/html, inline)]
Added tag(s) notabug.
Request was from
Paul Eggert <eggert <at> cs.ucla.edu>
to
control <at> debbugs.gnu.org
.
(Mon, 22 Nov 2021 17:23:02 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
52033 <at> debbugs.gnu.org and "Visser, Gerard" <gvisser <at> indiana.edu>
Request was from
Paul Eggert <eggert <at> cs.ucla.edu>
to
control <at> debbugs.gnu.org
.
(Mon, 22 Nov 2021 17:23:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-coreutils <at> gnu.org
:
bug#52033
; Package
coreutils
.
(Tue, 23 Nov 2021 18:58:02 GMT)
Full text and
rfc822 format available.
Message #18 received at 52033 <at> debbugs.gnu.org (full text, mbox):
tag 52033 notabug
close 52033
stop
On 11/22/21 14:39, Visser, Gerard wrote:
> Please close the case.
Hereby done.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 22 Dec 2021 12:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 87 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.