bug-coreutils
[Top][All Lists]
Advanced

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

Re: tail +n does not work under Linux?


From: Jim Meyering
Subject: Re: tail +n does not work under Linux?
Date: Wed, 20 May 2009 15:11:24 +0200

Eric Blake wrote:
...
...
>  "), stdout);
>       printf (_("\
> -  -n, --lines=N            output the last N lines, instead of the last 
> %d;\n\
> -                           or use +N to output lines starting with the Nth\n\
> +  -n, --lines=CNT          output the last CNT lines, instead of the last 
> %d;\n\
> +                           or use +CNT to skip the first CNT-1 lines\n\
>        --max-unchanged-stats=N\n\
>                             with --follow=name, reopen a FILE which has not\n\
>                             changed size after N (default %d) iterations\n\
> @@ -264,9 +265,9 @@ Mandatory arguments to long options are mandatory for 
> short options too.\n\
>       fputs (VERSION_OPTION_DESCRIPTION, stdout);
>       fputs (_("\
>  \n\
> -If the first character of N (the number of bytes or lines) is a `+',\n\
> -print beginning with the Nth item from the start of each file, otherwise,\n\
> -print the last N items in the file.  N may have a multiplier suffix:\n\
> +If the first character of CNT (the number of bytes or lines) is a `+',\n\
> +print beginning with the CNT item from the start of each file, otherwise,\n\
> +print the last CNT items in the file.  CNT may have a multiplier suffix:\n\
>  b 512, kB 1000, K 1024, MB 1000*1000, M 1024*1024,\n\
>  GB 1000*1000*1000, G 1024*1024*1024, and so on for T, P, E, Z, Y.\n\
>  \n\

That is a fine improvement.
My only reservation is with "beginning with the CNT item" vs.
"... the Nth item".  Using "N" seems more natural, and "Nth"
reads better than "CNT" or "CNT'th".

In spite of that, you're welcome to push it as-is.




reply via email to

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