LABELGREP(1) General Commands Manual LABELGREP(1)

labelgrepprogressive 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

rset(1), re_format(7)

labelgrep does not attempt to validate the format of each file.

September 24, 2024 OpenBSD 7.6