cat: fix cat -e and cat -v erroneously numbering 1st line
authorDenys Vlasenko <vda.linux@googlemail.com>
Sun, 29 Apr 2018 12:05:43 +0000 (14:05 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sun, 29 Apr 2018 12:05:43 +0000 (14:05 +0200)
commitd80eecb86812c1fbda652f9b995060c26ba0b155
tree90b1282970b7af2e1adcf235702dead15f156bb0
parentbc2e70b4a25e58264cdc236803c32f5a9a0c7e4c
cat: fix cat -e and cat -v erroneously numbering 1st line

function                                             old     new   delta
cat_main                                             418     421      +3

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
coreutils/cat.c
testsuite/cat.tests [new file with mode: 0755]