GNU bug report logs - #31873
head/tail --help K != N

Previous Next

Package: coreutils;

Reported by: Karl Berry <karl <at> freefriends.org>

Date: Sun, 17 Jun 2018 21:48:02 UTC

Severity: normal

Tags: notabug

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 31873 in the body.
You can then email your comments to 31873 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#31873; Package coreutils. (Sun, 17 Jun 2018 21:48:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Karl Berry <karl <at> freefriends.org>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Sun, 17 Jun 2018 21:48:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Karl Berry <karl <at> freefriends.org>
To: bug-coreutils <at> gnu.org
Subject: head/tail --help K != N
Date: Sun, 17 Jun 2018 21:47:20 GMT
It's just an idea, and a tiny one at that, but I was momentarily
perplexed by the lines like
  -n, --lines=[-]K
in head --help, making it look like the number is given in kilobytes,
when I knew that was not correct :).

So I suggest replacing K with N in the --help messages when the metavar
is standing for just a number, especially/only a number that takes a
suffix. FWIW ... --best, karl.





Information forwarded to bug-coreutils <at> gnu.org:
bug#31873; Package coreutils. (Sun, 17 Jun 2018 22:21:02 GMT) Full text and rfc822 format available.

Message #8 received at 31873 <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: Karl Berry <karl <at> freefriends.org>, 31873 <at> debbugs.gnu.org
Subject: Re: bug#31873: head/tail --help K != N
Date: Sun, 17 Jun 2018 15:20:41 -0700
tag 31873 notabug
close 31873
stop

On 17/06/18 14:47, Karl Berry wrote:
> It's just an idea, and a tiny one at that, but I was momentarily
> perplexed by the lines like
>   -n, --lines=[-]K
> in head --help, making it look like the number is given in kilobytes,
> when I knew that was not correct :).
> 
> So I suggest replacing K with N in the --help messages when the metavar
> is standing for just a number, especially/only a number that takes a
> suffix. FWIW ... --best, karl.

Already done for a while now in:
https://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=v8.24-101-gf7ab20c

cheers,
Pádraig




Added tag(s) notabug. Request was from Pádraig Brady <P <at> draigBrady.com> to control <at> debbugs.gnu.org. (Sun, 17 Jun 2018 22:21:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 31873 <at> debbugs.gnu.org and Karl Berry <karl <at> freefriends.org> Request was from Pádraig Brady <P <at> draigBrady.com> to control <at> debbugs.gnu.org. (Sun, 17 Jun 2018 22:21:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 16 Jul 2018 11:24:11 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 33 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.