Subject: bug#8102: [head] do not return EXIT_SUCCESS upon premature EOF

From: Bjartur Thorlacius <[email-masked]>
Date: Wed, 23 Feb 2011 18:58:16 +0000

% echo | head -n2 && echo bug
bug

This bit me when writing a line oriented prompter (which would `while
head -n1`).

FYI, this also applies to FreeBSD head.