On 29/11/15 23:35, Bernhard Voelker wrote:
> On 11/29/2015 12:16 AM, Pádraig Brady wrote:
>> I remember having slight reservations about K too.
>> http://lists.gnu.org/archive/html/bug-coreutils/2009-05/msg00279.html
>> Nothing much better comes to mind.
> 
> Thanks.
> In that discussion, also longer alternatives like COUNT or CNT were
> mentioned.  If we decide to go that way, I'd favor NUM among those
> suggestions, as it may also be used as is in translations.
> 
> While at it, I'm wondering if it would make sense to emphasize
> the optional plus ('+') for tail in the first column, similar as
> for the minus ('-') for head (although only for 'man head', but
> not in the Texi documentation):
> 
>   $ src/head --help | grep -A2 -- '^[ ]*-[cn]'
>     -c, --bytes=[-]K         print the first K bytes of each file;
>                                with the leading '-', print all but the last
>                                K bytes of each file
>     -n, --lines=[-]K         print the first K lines instead of the first 10;
>                                with the leading '-', print all but the last
>                                K lines of each file
> 
>   $ src/tail --help | grep -A1 -- '^[ ]*-[cn]'
>     -c, --bytes=K            output the last K bytes; or use -c +K to output
>                                bytes starting with the Kth of each file
>   --
>     -n, --lines=K            output the last K lines, instead of the last 10;
>                                or use -n +K to output starting with the Kth
> 
> Is there some GNU standard for this?  I couldn't find much.

+1 for [+]NUM

cheers,
Pádraig



Reply via email to