From 426d1b07d1c87cd302845a5de743501b31fe7931 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 18 Mar 2001 07:53:14 +0000 Subject: (usage): Warn that the +N form will be withdrawn. --- src/sort.c | 10 ++++------ src/tail.c | 3 ++- 2 files changed, 6 insertions(+), 7 deletions(-) (limited to 'src') diff --git a/src/sort.c b/src/sort.c index c12092e79..ea29e68de 100644 --- a/src/sort.c +++ b/src/sort.c @@ -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\ diff --git a/src/tail.c b/src/tail.c index 0c547507d..1db47a142 100644 --- a/src/tail.c +++ b/src/tail.c @@ -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\ -- cgit v1.2.3-70-g09d2