DOKK / manpages / debian 10 / bareos-tools / bregex.1.en
BREGEX(1) Backup Archiving REcovery Open Sourced BREGEX(1)


bregex - Bareos's 'regex' engine

bregex [options] -f <data-file>

This manual page documents briefly the bregex command.
This program can be useful for testing regex expressions to be applied against a list of filenames.

A summary of options is included below.

-?
Show version and usage of program.
Set debug level to nn.
Print timestamp in debug output
The data-file is a filename that contains lines of data to be matched (or not) against one or more patterns. When the program is run, it will prompt you for a regular expression pattern, then apply it one line at a time against the data in the file. Each line that matches will be printed preceded by its line number. You will then be prompted again for another pattern.
Print lines that do not match
Suppress lines numbers.

regex(7)

This manual page was written by Bruno Friedmann <bruno@ioda-net.ch>.

30 October 2011 Kern Sibbald