diff options
author | Duncaen <mail@duncano.de> | 2017-02-15 18:28:42 +0100 |
---|---|---|
committer | Duncaen <mail@duncano.de> | 2017-02-23 20:34:31 +0100 |
commit | 11e62a17c55c2199a3925c4ea19e9a96c383b7c8 (patch) | |
tree | 0ca025c434f9632ca6194c77736aa43352d47464 /man | |
parent | 7eb2d7304f2e19d31db4a2cad1945c52e4a076ae (diff) | |
download | mblaze-11e62a17c55c2199a3925c4ea19e9a96c383b7c8.tar.gz mblaze-11e62a17c55c2199a3925c4ea19e9a96c383b7c8.tar.xz mblaze-11e62a17c55c2199a3925c4ea19e9a96c383b7c8.zip |
magrep: add -p to print matches and the context and -o to only print matches
Diffstat (limited to 'man')
-rw-r--r-- | man/magrep.1 | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/man/magrep.1 b/man/magrep.1 index 4c83127..dbb437b 100644 --- a/man/magrep.1 +++ b/man/magrep.1 @@ -1,4 +1,4 @@ -.Dd August 2, 2016 +.Dd February 15, 2017 .Dt MAGREP 1 .Os .Sh NAME @@ -69,6 +69,29 @@ case insensitively. Do not show more than .Ar max matches. +.It Fl o +Print each match, +not the entire line. +This option is ignored if +.Fl c, +.Fl q +or +.Fl v +is specified. +.It Fl p +Print matching messages +.Ar msgs , +the matching line and the header. +If +.Fl o +is specified each match is printed, +instead of the matching line. +This option is ignored if the +.Fl c, +.Fl q +or +.Fl v +is specified. .It Fl q Quiet mode: do not print anything, quit as soon as possible. |