[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#18186: cat.c needs fixing since 1998
From: |
Eric Blake |
Subject: |
bug#18186: cat.c needs fixing since 1998 |
Date: |
Fri, 08 Aug 2014 06:27:41 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.7.0 |
On 08/07/2014 10:52 PM, James Simmons, President & CEO wrote:
> Each file has 1 line with no newline. concatenation should NOT have a
> newline.
> That is the point of concatenation.
The POSIX definition of line requires a newline at the end; if you have
text but no newline, the file is not a text file. However, cat is not a
line-oriented utility, so it should not be caring whether the input
files are text based, and should not be injecting newlines into the
output if the input did not have newlines.
Please show us the content of the files you claim are being
mis-concatentated using something like 'od -tx1z', as well as the
contents of the output file, so that we can try to reproduce your issue.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- bug#18186: cat.c needs fixing since 1998, James Simmons, 2014/08/03
- bug#18186: cat.c needs fixing since 1998, Paul Eggert, 2014/08/03
- Message not available
- bug#18186: cat.c needs fixing since 1998, Paul Eggert, 2014/08/07
- bug#18186: cat.c needs fixing since 1998, James Simmons, President & CEO, 2014/08/08
- bug#18186: cat.c needs fixing since 1998, Paul Eggert, 2014/08/08
- bug#18186: cat.c needs fixing since 1998,
Eric Blake <=
- bug#18186: cat.c needs fixing since 1998, Bernhard Voelker, 2014/08/08
- bug#18186: cat.c needs fixing since 1998, Linda Walsh, 2014/08/08
bug#18186: cat.c needs fixing since 1998, Eric Blake, 2014/08/04