diff options
author | Eric Blake <eblake@redhat.com> | 2010-06-09 11:13:13 -0600 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2010-06-14 15:42:24 -0600 |
commit | 879e8261bbc7cc42f620778155b1e1c9e5ae3ef2 (patch) | |
tree | de81a53f3274177770aa0dcf8d2c5c426a3e6d7f | |
parent | ceb84598d8c3a166e6949606710771f58eb2be56 (diff) | |
download | coreutils-879e8261bbc7cc42f620778155b1e1c9e5ae3ef2.tar.xz |
cat: improve documentation
* src/cat.c (usage): Clarify that -b overrides -n.
* doc/coreutils.texi (cat invocation): Likewise.
* THANKS: Update.
Suggested by Chas. Owens, in bug 6383.
-rw-r--r-- | THANKS | 1 | ||||
-rw-r--r-- | doc/coreutils.texi | 3 | ||||
-rw-r--r-- | src/cat.c | 2 |
3 files changed, 4 insertions, 2 deletions
@@ -103,6 +103,7 @@ Carl Roth roth@urs.us Carlos Canau Carlos.Canau@relay.puug.pt Charles Karney karney@pppl.gov Charles Randall crandall@matchlogic.com +Chas. Owens chas.owens@gmail.com Chip Salzenberg chip@valinux.com Chris Clayton chris2553@googlemail.com Chris Faylor cgf@cygnus.com diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 102ceaf97..f103bd869 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -1494,7 +1494,8 @@ Display a @samp{$} after the end of each line. @itemx --number @opindex -n @opindex --number -Number all output lines, starting with 1. +Number all output lines, starting with 1. This option is ignored +if @option{-b} is in effect. @item -s @itemx --squeeze-blank @@ -92,7 +92,7 @@ Usage: %s [OPTION]... [FILE]...\n\ Concatenate FILE(s), or standard input, to standard output.\n\ \n\ -A, --show-all equivalent to -vET\n\ - -b, --number-nonblank number nonempty output lines\n\ + -b, --number-nonblank number nonempty output lines, overrides -n\n\ -e equivalent to -vE\n\ -E, --show-ends display $ at end of each line\n\ -n, --number number all output lines\n\ |