From: Jim Meyering Date: Wed, 14 May 2003 14:43:13 +0000 (+0000) Subject: (usage): Document new feature: --bytes=-N and --lines=-N. X-Git-Tag: v5.0.1~459 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=c86a6cc08901ece60f62ade61899f370490ceb9c;p=thirdparty%2Fcoreutils.git (usage): Document new feature: --bytes=-N and --lines=-N. --- diff --git a/src/head.c b/src/head.c index 885463456d..1497a712a9 100644 --- a/src/head.c +++ b/src/head.c @@ -140,7 +140,7 @@ Usage: %s [OPTION]... [FILE]...\n\ "), program_name); fputs (_("\ -Print first 10 lines of each FILE to standard output.\n\ +Print the first 10 lines of each FILE to standard output.\n\ With more than one FILE, precede each with a header giving the file name.\n\ With no FILE, or when FILE is -, read standard input.\n\ \n\ @@ -149,8 +149,12 @@ With no FILE, or when FILE is -, read standard input.\n\ Mandatory arguments to long options are mandatory for short options too.\n\ "), stdout); fputs (_("\ - -c, --bytes=SIZE print first SIZE bytes\n\ - -n, --lines=NUMBER print first NUMBER lines instead of first 10\n\ + -c, --bytes=[-]N print the first N bytes of each file;\n\ + with the leading `-', print all but the last\n\ + N bytes of each file\n\ + -n, --lines=[-]N print the first N lines instead of the first 10;\n\ + with the leading `-', print all but the last\n\ + N lines of each file\n\ "), stdout); fputs (_("\ -q, --quiet, --silent never print headers giving file names\n\ @@ -160,7 +164,7 @@ Mandatory arguments to long options are mandatory for short options too.\n\ fputs (VERSION_OPTION_DESCRIPTION, stdout); fputs (_("\ \n\ -SIZE may have a multiplier suffix: b for 512, k for 1K, m for 1 Meg.\n\ +N may have a multiplier suffix: b for 512, k for 1024, m for 1048576 (1 Meg)\n\ "), stdout); printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); }