summaryrefslogtreecommitdiff
path: root/doc/coreutils.texi
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2009-05-20 06:32:10 -0600
committerEric Blake <ebb9@byu.net>2009-05-29 16:14:56 -0600
commitc43333419bad3408529bb356cd167f91b6d4f6b2 (patch)
treec37136333340a0af296b9944711a8a9561b7e5d5 /doc/coreutils.texi
parent159faba1376ffd5a46fe4bbc780d85dd3e502cea (diff)
downloadcoreutils-c43333419bad3408529bb356cd167f91b6d4f6b2.tar.xz
head, tail: make --help less ambiguous
* src/head.c (usage): Use -n K, not -n N, to avoid confusion. * src/tail.c (usage): Likewise. * doc/coreutils.texi (head invocation, tail invocation): Likewise. Reported by Christophe Lyon.
Diffstat (limited to 'doc/coreutils.texi')
-rw-r--r--doc/coreutils.texi44
1 files changed, 22 insertions, 22 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index 834bd462c..155858b54 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -2653,22 +2653,22 @@ The program accepts the following options. Also see @ref{Common options}.
@table @samp
-@item -c @var{n}
-@itemx --bytes=@var{n}
+@item -c @var{k}
+@itemx --bytes=@var{k}
@opindex -c
@opindex --bytes
-Print the first @var{n} bytes, instead of initial lines.
-However, if @var{n} starts with a @samp{-},
-print all but the last @var{n} bytes of each file.
-@multiplierSuffixes{n}
+Print the first @var{k} bytes, instead of initial lines.
+However, if @var{k} starts with a @samp{-},
+print all but the last @var{k} bytes of each file.
+@multiplierSuffixes{k}
-@itemx -n @var{n}
-@itemx --lines=@var{n}
+@itemx -n @var{k}
+@itemx --lines=@var{k}
@opindex -n
@opindex --lines
-Output the first @var{n} lines.
-However, if @var{n} starts with a @samp{-},
-print all but the last @var{n} lines of each file.
+Output the first @var{k} lines.
+However, if @var{k} starts with a @samp{-},
+print all but the last @var{k} lines of each file.
Size multiplier suffixes are the same as with the @option{-c} option.
@item -q
@@ -2738,14 +2738,14 @@ The program accepts the following options. Also see @ref{Common options}.
@table @samp
-@item -c @var{n}
-@itemx --bytes=@var{n}
+@item -c @var{k}
+@itemx --bytes=@var{k}
@opindex -c
@opindex --bytes
-Output the last @var{n} bytes, instead of final lines.
-However, if @var{n} starts with a @samp{+}, start printing with the
-@var{n}th byte from the start of each file, instead of from the end.
-@multiplierSuffixes{n}
+Output the last @var{k} bytes, instead of final lines.
+However, if @var{k} starts with a @samp{+}, start printing with the
+@var{k}th byte from the start of each file, instead of from the end.
+@multiplierSuffixes{k}
@item -f
@itemx --follow[=@var{how}]
@@ -2850,13 +2850,13 @@ number of seconds between when tail prints the last pre-rotation lines
and when it prints the lines that have accumulated in the new log file.
This option is meaningful only when following by name.
-@itemx -n @var{n}
-@itemx --lines=@var{n}
+@itemx -n @var{k}
+@itemx --lines=@var{k}
@opindex -n
@opindex --lines
-Output the last @var{n} lines.
-However, if @var{n} starts with a @samp{+}, start printing with the
-@var{n}th line from the start of each file, instead of from the end.
+Output the last @var{k} lines.
+However, if @var{k} starts with a @samp{+}, start printing with the
+@var{k}th line from the start of each file, instead of from the end.
Size multiplier suffixes are the same as with the @option{-c} option.
@item -q