GPG-CHECK-PATTERN - Online Linux Manual PageSection : 1
Updated : 2022-12-16
Source : GnuPG 2.4.0
Note : GNU Privacy Guard 2.3

NAMEgpg-check-pattern − Check a passphrase on stdin against the patternfile

SYNOPSISgpg−check−pattern [options] patternfile

DESCRIPTIONgpg-check-pattern checks a passphrase given on stdin against a specified pattern file. The pattern file is line based with comment lines beginning on the first position with a #. Empty lines and lines with only white spaces are ignored. The actual pattern lines may either be verbatim string pattern and match as they are (trailing spaces are ignored) or extended regular expressions indicated by a / or !/ in the first column and terminated by another / or end of line. If a regular expression starts with !/ the match result is reversed. By default all comparisons are case insensitive. Tag lines may be used to further control the operation of this tool. The currently defined tags are: [icase]  Switch to case insensitive comparison for all further patterns. This is the default. [case]  Switch to case sensitive comparison for all further patterns. [reject]  Switch to reject mode. This is the default mode. [accept]  Switch to accept mode. In the future more tags may be introduced and thus it is advisable not to start a plain pattern string with an open bracket. The tags must be given verbatim on the line with no spaces to the left or any non white space characters to the right. In reject mode the program exits on the first match with an exit code of 1 (failure). If at the end of the pattern list the reject mode is still active the program exits with code 0 (success). In accept mode blocks of patterns are used. A block starts at the next pattern after an "accept" tag and ends with the last pattern before the next "accept" or "reject" tag or at the end of the pattern list. If all patterns in a block match the program exits with an exit code of 0 (success). If any pattern in a block do not match the next pattern block is evaluated. If at the end of the pattern list the accept mode is still active the program exits with code 1 (failure).

OPTIONS--verbose  Enable extra informational output. --check  Run only a syntax check on the patternfile. --null  Input is expected to be null delimited.

SEE ALSOgpg-agent(1), The full documentation for this tool is maintained as a Texinfo manual. If GnuPG and the info program are properly installed at your site, the command info gnupgshould give you access to the complete manual including a menu structure and an index.
0
Johanes Gumabo
Data Size   :   8,199 byte
man-gpg-check-pattern.1Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   3 / 237,239
Visitor ID   :     :  
Visitor IP   :   18.118.10.75   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.