bregex(8)

bregex8

Bacula's 'regex' engine

Usage

bregex [options] -f <data-file>

Overview

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.

Options

A summary of options is included below.

-?

Show version and usage of program.

-d nn

Set debug level to nn.

-dt

Print timestamp in debug output

-f <data-file>

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.

-n

Print lines that do not match

-l

Suppress lines numbers.

Releases

7 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7–8
  2. 9–13

Author

This manual page was written by Bruno Friedmann <[email protected]>. This man page document is released under the BSD 2-Clause license.

From bacula-director 15.0.3-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.