3 @@ -203,7 +203,7 @@ int tail_main(int argc, char **argv)
6 if (ENABLE_FEATURE_FANCY_TAIL && fd < 0)
7 - continue; /* may happen with -E */
8 + continue; /* may happen with -F */
10 if (nfiles > header_threshhold) {
11 tail_xprint_header(fmt, argv[i]);
12 @@ -252,14 +252,14 @@ int tail_main(int argc, char **argv)
13 * Used only by +N code ("start from Nth", 1-based): */
16 - while ((nread = tail_read(fd, buf, tailbufsize-taillen)) > 0) {
17 + while ((nread = tail_read(fd, buf, tailbufsize - taillen)) > 0) {
21 /* We need to skip a few more bytes/lines */
23 nwrite -= (count - seen);
29 --- a/testsuite/tail.tests
30 +++ b/testsuite/tail.tests
31 @@ -14,4 +14,12 @@ testing "tail: +N with N > file length"
35 +testing "tail: -c +N with largish N" \
37 + dd if=/dev/zero bs=16k count=1 2>/dev/null | tail -c +8200 | wc -c;
38 + dd if=/dev/zero bs=16k count=1 2>/dev/null | tail -c +8208 | wc -c;