Cfpeek User Manual (split by section):   Section:   Chapter:FastBack: Invocation   Up: Invocation   FastForward: Exit Codes   Contents: Table of ContentsIndex: Concept Index

5.1 Patterns

By default cfpeek treats keys as wildcard patterns. When matching statement identifiers (keywords), two characters have special meaning: ‘%’ and ‘*’.

A ‘%’ character in place of an identifier matches any single keyword. Thus, e.g.:

cfpeek file.conf .%.bar.baz

will match ‘.foo.bar.baz’, ‘.qux.bar.baz’, but will not match ‘.bar.baz’ or ‘.x.y.bar.baz’.

A single ‘*’ character in place of a keyword matches zero or more keywords appearing in its place, so that:

cfpeek file.conf .*.bar.baz

The tags in block statement are matched using the traditional globbing patterns. See http://www.manpagez.com/man/3/fnmatch.

For example, this:

cfpeek file.conf .*.program="mh-*"

will match any ‘program’ block statement whose tag begins with ‘mh-’.

Cfpeek User Manual (split by section):   Section:   Chapter:FastBack: Invocation   Up: Invocation   FastForward: Exit Codes   Contents: Table of ContentsIndex: Concept Index