m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorNorbert Buchmueller <norbi@nix.hu>2018-04-17 00:10:34 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-06-14 16:58:28 +0200
commit8732213db41e4d080651f85b0e6fcee1ebacf612 (patch)
tree37633f945de8924acd07101738e5681aab24bfca /man
parent8683403b77f59c56fcb1f05c61ab33b9fd61a30d (diff)
Add tests and documentation of passing options to grep(1)
Diffstat (limited to 'man')
-rw-r--r--man/pass.17
1 files changed, 4 insertions, 3 deletions
diff --git a/man/pass.1 b/man/pass.1
index e842178..01a3fbe 100644
--- a/man/pass.1
+++ b/man/pass.1
@@ -81,12 +81,13 @@ by using the
.BR tree (1)
program. This command is alternatively named \fBlist\fP.
.TP
-\fBgrep\fP \fIsearch-string\fP
+\fBgrep\fP [\fIGREPOPTIONS\fP] \fIsearch-string\fP
Searches inside each decrypted password file for \fIsearch-string\fP, and displays line
containing matched string along with filename. Uses
.BR grep (1)
-for matching. Make use of the \fIGREP_OPTIONS\fP environment variable to set particular
-options.
+for matching. \fIGREPOPTIONS\fP are passed to
+.BR grep (1)
+as-is. (Note: the \fIGREP_OPTIONS\fP environment variable functions as well.)
.TP
\fBfind\fP \fIpass-names\fP...
List names of passwords inside the tree that match \fIpass-names\fP by using the