From 8fb3745a095149b51db1b895fba9ae0fb1479347 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 30 Apr 1999 22:35:54 +0000 Subject: [PATCH] add emphasis that sort's -k M,N is inclusive --- doc/textutils.texi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/textutils.texi b/doc/textutils.texi index 0006708642..d1fdaffc73 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 -- 2.47.3