GNU bug report logs - #18186
cat.c needs fixing since 1998

Previous Next

Package: coreutils;

Reported by: "James Simmons" <james <at> pcug.us>

Date: Sun, 3 Aug 2014 20:19:02 UTC

Severity: normal

Tags: moreinfo

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: "James Simmons, President & CEO" <james <at> pcug.us>
To: "Paul Eggert" <eggert <at> cs.ucla.edu>
Cc: 18186 <at> debbugs.gnu.org
Subject: Re: bug#18186: cat.c needs fixing since 1998
Date: Fri, 8 Aug 2014 00:52:01 -0400
Each file has 1 line with no newline. concatenation should NOT have a 
newline.
That is the point of concatenation.

-----Original Message----- 
From: Paul Eggert
Sent: Thursday, August 07, 2014 8:00 PM
To: James Simmons, President & CEO
Cc: 18186 <at> debbugs.gnu.org
Subject: Re: bug#18186: cat.c needs fixing since 1998

James Simmons, President & CEO wrote:
> cat file1.txt file2.txt >>output.txt
>
> file1.txt contains a single line containing IP addresses.
> file2.txt contains a single line with more IP addresses.
>
> output.txt SHOULD contain a single line

If the input contains two lines, the output should too.  Sorry, I don't
see a bug here. 





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

Previous Next


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