bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#33281: head does not consume input after '-c' is satisfied


From: Assaf Gordon
Subject: bug#33281: head does not consume input after '-c' is satisfied
Date: Sat, 22 Dec 2018 22:43:48 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0

tags 33281 wontfix
severity 33281 wishlist
close 33281
stop

Hello,

On 2018-11-06 12:52 p.m., Paul Eggert wrote:
On 11/5/18 1:17 PM, Philip Rowlands wrote:
To achieve consistency in the other direction, head could ignore the optimization to reduce the number of bytes read, and always read 8192 bytes, knowing that some would be discarded.

Let's not do that. It's less efficient and less useful than what GNU 'head -c4' is doing now.

For widely differing values, the only way to produce the same residual output would be to consume all input data.

Eeuuww. Let's *especially* not do that.


Given the above, I'm closing this as "wontfix".
Discussion can continue by replying to this thread.

-assaf







reply via email to

[Prev in Thread] Current Thread [Next in Thread]