diff options
author | Bernhard Rosenkraenzer <bero@arklinux.org> | 2001-11-19 13:23:29 +0000 |
---|---|---|
committer | Bernhard Rosenkraenzer <bero@arklinux.org> | 2001-11-19 13:23:29 +0000 |
commit | f6e68a1c2efaec7d4e7474cd06c2638f8779fe74 (patch) | |
tree | 10fb7422e1c5ad7bd81d2d6b0b47ecb2c67b05b5 /doc/grep.texi | |
parent | f7ceb1457ce775d561f60ba5964f96e1db3d3ac1 (diff) | |
download | grep-f6e68a1c2efaec7d4e7474cd06c2638f8779fe74.tar.gz |
Add -o option
* src/grep.c: Add --only-matching (-o) switch (see NEWS)
* doc/grep.texi, doc/grep.1, NEWS: Document changes
Diffstat (limited to 'doc/grep.texi')
-rw-r--r-- | doc/grep.texi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/grep.texi b/doc/grep.texi index 70021cc3..4b39a94a 100644 --- a/doc/grep.texi +++ b/doc/grep.texi @@ -185,6 +185,13 @@ The scanning of every file will stop on the first match. @cindex line numbering Prefix each line of output with the line number within its input file. +@item -o +@itemx --only-matching +@opindex -o +@opindex --only-matching +@cindex only matching +Print only the part of matching lines that actually matches @var{pattern}. + @item -q @itemx --quiet @itemx --silent |