diff options
author | Bernhard Voelker <mail@bernhard-voelker.de> | 2015-11-30 22:09:29 +0100 |
---|---|---|
committer | Bernhard Voelker <mail@bernhard-voelker.de> | 2015-11-30 22:09:29 +0100 |
commit | f7ab20cd606fe6f66028a382d1b5736c4fea9d15 (patch) | |
tree | c45cc27cd45f370e64051364308e2931ac528244 /scripts | |
parent | 79c5b8f452ad01382c8e1d3e495a65428ae59b02 (diff) | |
download | coreutils-f7ab20cd606fe6f66028a382d1b5736c4fea9d15.tar.xz |
doc: avoid confusing K argument in the man pages of head and tail
The character 'K' representing numeric user input can be confusing,
especially in the context where it can be suffixed by the multipliers
K, M, G, etc.
Use NUM instead.
* doc/coreutils.texi (head invocation): Replace @var{k} by @var{num}.
Also change @var{count} in the paragraph about the obsolete option
syntax.
(tail invocation): Likewise. Furthermore, adjust the option order to
alphabetical sorting.
* src/head.c (usage): s/K/NUM/ in as placeholder in the -c and -n
options. Furthermore, print the actual DEFAULT_NUMBER instead of the
hard-coded 10.
* src/tail.c (usage): s/K/NUM/ in as placeholder in the -c and -n
options. Add "[+]" to clarify that NUM may optionally be preceded by
this sign. Remove the redundant explanation of the optional '+' prefix
for NUM, as that is now clear from the option description above.
Suggested by Dan Jacobson in http://bugs.gnu.org/22042
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions