Subject: tail -n +NUM is not working properly

From: Dimitris Moraitidis <[email-masked]>
Date: Fri, 6 Mar 2020 10:42:15 +0100

Hey there,

tail -n + NUM does not return the desired output. +NUM starts from the top
of the file, not from the bottom.

So for example, given the following file:

>this
>is
>an
>example
>file
>each
>word
>represents
>a
>line

and executing tail -n +3 example, I am getting

>example
>file
>each
>word
>represents
>a
>line

instead of

>this
>is
>an
>example
>file
>each
>word

I am using *tail (GNU coreutils) 8.28 *in latest ubuntu 18.04 LTS

Thanks in advance for looking into this :)

-- 
// Moraitidis D. Dimitris,
// Athens University of Economics and Business (AUEB)
// Department of Informatics