summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-12-02 14:28:11 +0000
committerJim Meyering <jim@meyering.net>2000-12-02 14:28:11 +0000
commit1b9cb7ea23473568ca7ec6cdd2983192e2a4e215 (patch)
tree7b5e0e061fd39462935626b551a5ea9d3ee4e4c8 /doc
parent479aba180c1a91e940c2e1c5914b8726d0c08788 (diff)
downloadcoreutils-1b9cb7ea23473568ca7ec6cdd2983192e2a4e215.tar.xz
(sort invocation): Clarify how -t works when
a sort key specifies a range of fields. From Karl O. Pinc.
Diffstat (limited to 'doc')
-rw-r--r--doc/textutils.texi4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/textutils.texi b/doc/textutils.texi
index c48b41f1c..f9baa9b32 100644
--- a/doc/textutils.texi
+++ b/doc/textutils.texi
@@ -2269,7 +2269,9 @@ string between a non-whitespace character and a whitespace character.
That is, given the input line @w{@samp{ foo bar}}, @code{sort} breaks it
into fields @w{@samp{ foo}} and @w{@samp{ bar}}. The field separator is
not considered to be part of either the field preceding or the field
-following.
+following. But note that sort fields that extend to the end of the line,
+as @samp{-k 2}, or sort fields consisting of a range, as @samp{-k 2,3},
+retain the field separators present between the endpoints of the range.
@item -T @var{tempdir}
@opindex -T