Cfpeek can handle input files in various formats. The
default one is ‘Grecs’ format, introduced in previous sections.
To process input files of another format, specify the parser to
use via the --parser (-p) command line option. The
argument to this option is one of: ‘grecs’, ‘bind’,
‘path’, ‘meta1’ or ‘git’. See Formats, for a
detailed description of each of these formats.
For example, to select zone statements from the /etc/named.conf file:
$ cfpeek --parser=bind /etc/named.conf '.*.zone'
This document was generated on January 7, 2021 using makeinfo.Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.