]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(usage): Warn that the +N form will be withdrawn.
authorJim Meyering <jim@meyering.net>
Sun, 18 Mar 2001 07:53:14 +0000 (07:53 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 18 Mar 2001 07:53:14 +0000 (07:53 +0000)
src/sort.c
src/tail.c

index c12092e79d6c96e107cf4229a9adab501b678355..ea29e68de8bbf5e54ec8fae84d9b60810607d456 100644 (file)
@@ -291,18 +291,13 @@ Usage: %s [OPTION]... [FILE]...\n\
       printf (_("\
 Write sorted concatenation of all FILE(s) to standard output.\n\
 \n\
-  +POS1 [-POS2]    start a key at POS1, end it *before* POS2 (obsolescent)\n\
-                     field numbers and character offsets are numbered\n\
-                     starting with zero (contrast with the -k option)\n\
   -b               ignore leading blanks in sort fields or keys\n\
   -c               check if given files already sorted, do not sort\n\
   -d               consider only blanks and alphanumeric characters in keys\n\
   -f               fold lower case to upper case characters in keys\n\
   -g               compare according to general numerical value, imply -b\n\
   -i               consider only printable characters in keys\n\
-  -k POS1[,POS2]   start a key at POS1, end it *at* POS2\n\
-                     field numbers and character offsets are numbered\n\
-                     starting with one (contrast with zero-based +POS form)\n\
+  -k POS1[,POS2]   start a key at POS1, end it *at* POS2 (origin 1)\n\
   -m               merge already sorted files, do not sort\n\
   -M               compare (unknown) < `JAN' < ... < `DEC', imply -b\n\
   -n               compare according to string numerical value, imply -b\n\
@@ -316,6 +311,9 @@ Write sorted concatenation of all FILE(s) to standard output.\n\
   -u               with -c, check for strict ordering;\n\
                    with -m, only output the first of an equal sequence\n\
   -z               end lines with 0 byte, not newline, for find -print0\n\
+  +POS1 [-POS2]    start a key at POS1, end it *before* POS2 (origin 0)\n\
+                     Warning: this option is obsolescent and support for it\n\
+                     will be withdrawn.  Use -k instead.\n\
       --help       display this help and exit\n\
       --version    output version information and exit\n\
 \n\
index 0c547507dc2b8a887348ffd9c212e78616149e1e..1db47a1424f1de10fc272fb9054e7ca0f73548a7 100644 (file)
@@ -274,7 +274,8 @@ print the last N items in the file.  N may have a multiplier suffix:\n\
 b for 512, k for 1024, m for 1048576 (1 Meg).  A first OPTION of -VALUE\n\
 or +VALUE is treated like -n VALUE or -n +VALUE unless VALUE has one of\n\
 the [bkm] suffix multipliers, in which case it is treated like -c VALUE\n\
-or -c +VALUE.\n\
+or -c +VALUE.  Warning: a first option of +VALUE is obsolescent, and support\n\
+for it will be withdrawn.\n\
 \n\
 With --follow (-f), tail defaults to following the file descriptor, which\n\
 means that even if a tail'ed file is renamed, tail will continue to track\n\