1BREGEX(8) Network backup, utilities BREGEX(8)
2
3
4
6 bregex - Bacula's 'regex' engine
7
9 bregex [options] -f <data-file>
10
12 This manual page documents briefly the bregex command.
13 This program can be useful for testing regex expressions to be applied
14 against a list of filenames.
15
17 A summary of options is included below.
18
19 -? Show version and usage of program.
20
21 -d nn Set debug level to nn.
22
23 -dt Print timestamp in debug output
24
25 -f <data-file>
26 The data-file is a filename that contains lines of data to be
27 matched (or not) against one or more patterns. When the program
28 is run, it will prompt you for a regular expression pattern,
29 then apply it one line at a time against the data in the file.
30 Each line that matches will be printed preceded by its line num‐
31 ber. You will then be prompted again for another pattern.
32
33 -n Print lines that do not match
34
35 -l Suppress lines numbers.
36
38 regex(7)
39
41 This manual page was written by Bruno Friedmann <bruno@ioda-net.ch>.
42 This man page document is released under the BSD 2-Clause license.
43
44
45
46Kern Sibbald 30 October 2011 BREGEX(8)