LABELGREP(1) General Commands Manual LABELGREP(1)
NAME
labelgrep — progressive label file searcher
SYNOPSIS
labelgrep pattern file [file ...]
DESCRIPTION
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.
EXAMPLES
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
SEE ALSO
rset(1), re_format(7)
CAVEATS
labelgrep does not attempt to validate the format of each file. GNU February 6, 2025 LABELGREP(1)