forked from bareos/bareos
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbregex.1
65 lines (65 loc) · 1.92 KB
/
bregex.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
.\" Hey, EMACS: -*- nroff -*-
.\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1)
.TH BREGEX 8 "30 October 2011" "Kern Sibbald" "Backup Archiving REcovery Open Sourced"
.\" Please adjust this date whenever revising the manpage.
.\"
.\" Some roff macros, for reference:
.\" .nh disable hyphenation
.\" .hy enable hyphenation
.\" .ad l left justify
.\" .ad b justify to both left and right margins
.\" .nf disable filling
.\" .fi enable filling
.\" .br insert line break
.\" .sp <n> insert n+1 empty lines
.\" for manpage-specific macros, see man(7)
.SH NAME
bregex \- Bareos's 'regex' engine
.SH SYNOPSIS
.B bregex
.RI [ options ]
.I -f <data\-file>
.br
.SH DESCRIPTION
This manual page documents briefly the
.B bregex
command.
.br
This program can be useful for testing regex expressions to be applied against a list of filenames.
.PP
.\" TeX users may be more comfortable with the \fB<whatever>\fP and
.\" \fI<whatever>\fP escape sequences to invoke bold face and italics,
.\" respectively.
.SH OPTIONS
A summary of options is included below.
.TP
.B \-?
Show version and usage of program.
.TP
.BI \-d\ nn
Set debug level to \fInn\fP.
.TP
.BI \-dt
Print timestamp in debug output
.TP
.BI \-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.
.TP
.BI \-n
Print lines that do not match
.TP
.BI \-l
Suppress lines numbers.
.SH SEE ALSO
.BR regex(7)
.br
.SH AUTHOR
This manual page was written by Bruno Friedmann
.nh
<bruno@ioda\-net.ch>.