diff options
author | Norbert Buchmueller <norbi@nix.hu> | 2018-04-17 00:10:34 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-06-14 16:58:28 +0200 |
commit | 8732213db41e4d080651f85b0e6fcee1ebacf612 (patch) | |
tree | 37633f945de8924acd07101738e5681aab24bfca /man | |
parent | 8683403b77f59c56fcb1f05c61ab33b9fd61a30d (diff) |
Add tests and documentation of passing options to grep(1)
Diffstat (limited to 'man')
-rw-r--r-- | man/pass.1 | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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 |