[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cut loadable outputs extra newlines
From: |
Chet Ramey |
Subject: |
Re: cut loadable outputs extra newlines |
Date: |
Thu, 11 Aug 2022 10:42:06 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.1.2 |
On 8/10/22 4:50 PM, Geir Hauge wrote:
Bash Version: 5.2
Patch Level: 0
Release Status: rc3
Description:
examples/loadables/cut.c uses zgetline, which includes the newline
delimiter in the line it reads, but the rest of the code expects the
line to not contain the newline.
Thanks for the report.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/