From 8732213db41e4d080651f85b0e6fcee1ebacf612 Mon Sep 17 00:00:00 2001 From: Norbert Buchmueller Date: Tue, 17 Apr 2018 00:10:34 +0200 Subject: Add tests and documentation of passing options to grep(1) --- man/pass.1 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'man') 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 -- cgit v1.2.3