labelgrep
—
progressive label file searcher
labelgrep |
pattern file
[file ...] |
A pattern searcher for the
pln(5)
format. Displays the source file, label name, and highlights the contents
matching a regular expression.
Lines beginning with ‘#
’ are
ignored.
Find all of the instances where a service is restarted
$ labelgrep 'rcctl|systemctl'
*.pln
Show all routes that include the wordpress configuration
$ labelgrep 'wordpress'
routes.pln
labelgrep
does not attempt to validate the format of
each file.