summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-04-30 22:35:54 +0000
committerJim Meyering <jim@meyering.net>1999-04-30 22:35:54 +0000
commit8fb3745a095149b51db1b895fba9ae0fb1479347 (patch)
tree571e3d6a45972293115e9f7beb317e45c3f0e3d8 /doc
parentaaba44e6395a1c261f28a915e90041a1c56f891a (diff)
downloadcoreutils-8fb3745a095149b51db1b895fba9ae0fb1479347.tar.xz
add emphasis that sort's -k M,N is inclusive
Diffstat (limited to 'doc')
-rw-r--r--doc/textutils.texi6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/textutils.texi b/doc/textutils.texi
index 000670864..d1fdaffc7 100644
--- a/doc/textutils.texi
+++ b/doc/textutils.texi
@@ -2190,8 +2190,10 @@ check that no pair of consecutive lines compares equal.
@cindex sort field
The recommended, @sc{POSIX}, option for specifying a sort field. The field
consists of the part of the line between @var{pos1} and @var{pos2} (or the
-end of the line, if @var{pos2} is omitted), inclusive. Fields and
-character positions are numbered starting with 1. See below.
+end of the line, if @var{pos2} is omitted), @emph{inclusive}.
+Fields and character positions are numbered starting with 1.
+So to sort on the second field, you'd use @samp{-k 2,2}
+See below for more examples.
@item -z
@opindex -z