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: [email protected]
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.



Reply via email to