From: Jim Meyering Date: Sat, 2 Dec 2000 14:28:11 +0000 (+0000) Subject: (sort invocation): Clarify how -t works when X-Git-Tag: TEXTUTILS-2_0_9~39 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=1b9cb7ea23473568ca7ec6cdd2983192e2a4e215;p=thirdparty%2Fcoreutils.git (sort invocation): Clarify how -t works when a sort key specifies a range of fields. From Karl O. Pinc. --- diff --git a/doc/textutils.texi b/doc/textutils.texi index c48b41f1c2..f9baa9b327 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