From: Jim Meyering Date: Wed, 27 Dec 2006 15:00:15 +0000 (+0100) Subject: * src/tail.c (usage): Mention +N for --bytes and --lines. X-Git-Tag: COREUTILS-6_8~113 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2eea35fcf2807d9c9ac10d4d9e1a22aaf886b09d;p=thirdparty%2Fcoreutils.git * src/tail.c (usage): Mention +N for --bytes and --lines. Suggestion from Evan Hunt. --- diff --git a/ChangeLog b/ChangeLog index 5120963b62..8644682945 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-12-27 Jim Meyering + + * src/tail.c (usage): Mention +N for --bytes and --lines. + Suggestion from Evan Hunt. + 2006-12-26 Jim Meyering * configure.ac: Require autoconf-2.61 and automake-1.10. diff --git a/src/tail.c b/src/tail.c index d17f40a9ad..2582b9d694 100644 --- a/src/tail.c +++ b/src/tail.c @@ -231,7 +231,8 @@ Mandatory arguments to long options are mandatory for short options too.\n\ inaccessible when tail starts or if it becomes\n\ inaccessible later; useful when following by name,\n\ i.e., with --follow=name\n\ - -c, --bytes=N output the last N bytes\n\ + -c, --bytes=N output the last N bytes; alternatively, use +N to\n\ + output bytes starting with the Nth of each file\n\ "), stdout); fputs (_("\ -f, --follow[={name|descriptor}]\n\ @@ -241,7 +242,8 @@ Mandatory arguments to long options are mandatory for short options too.\n\ -F same as --follow=name --retry\n\ "), stdout); printf (_("\ - -n, --lines=N output the last N lines, instead of the last %d\n\ + -n, --lines=N output the last N lines, instead of the last %d;\n\ + or use +N to output lines starting with the Nth\n\ --max-unchanged-stats=N\n\ with --follow=name, reopen a FILE which has not\n\ changed size after N (default %d) iterations\n\