]> git.sur5r.net Git - bacula/bacula/blob - bacula/manpages/bwild.8
c4dfbc76ae8272f1c080bae07b1f9fab30608e77
[bacula/bacula] / bacula / manpages / bwild.8
1 .\"                                      Hey, EMACS: -*- nroff -*-
2 .\" First parameter, NAME, should be all caps
3 .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
4 .\" other parameters are allowed: see man(7), man(1)
5 .TH BWILD 8 "30 October 2011" "Kern Sibbald" "Network backup, utilities"
6 .\" Please adjust this date whenever revising the manpage.
7 .\"
8 .\" Some roff macros, for reference:
9 .\" .nh        disable hyphenation
10 .\" .hy        enable hyphenation
11 .\" .ad l      left justify
12 .\" .ad b      justify to both left and right margins
13 .\" .nf        disable filling
14 .\" .fi        enable filling
15 .\" .br        insert line break
16 .\" .sp <n>    insert n+1 empty lines
17 .\" for manpage-specific macros, see man(7)
18 .SH NAME
19  bwild \- Bacula's 'wildcard' engine
20 .SH SYNOPSIS
21 .B bwild
22 .RI [ options ]
23 .I -f <data\-file>
24 .br
25 .SH DESCRIPTION
26 This manual page documents briefly the
27 .B bwild
28 command.
29 .br
30 This is a simple program that will allow you to test wild-card expressions against a file of data.
31 .PP
32 .\" TeX users may be more comfortable with the \fB<whatever>\fP and
33 .\" \fI<whatever>\fP escape sequences to invoke bold face and italics,
34 .\" respectively.
35 .SH OPTIONS
36 A summary of options is included below.
37 .TP
38 .B \-?
39 Show version and usage of program.
40 .TP
41 .BI \-d\  nn
42 Set debug level to \fInn\fP.
43 .TP
44 .BI \-dt
45 Print timestamp in debug output
46 .TP
47 .BI \-f\ <data\-file>
48 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 wild-card 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.
49 .br
50 Enter an empty line for a pattern to terminate the program. You can print only lines that do not match by using the \-n option, and you can suppress printing of line numbers with the \-l option.
51 .TP
52 .BI \-n
53 Print lines that do not match
54 .TP
55 .BI \-l
56 Suppress lines numbers.
57 .TP
58 .BI \-i
59 use case insensitive match.
60 .SH SEE ALSO
61 .BR fnmatch(3)
62 .br
63 .SH AUTHOR
64 This manual page was written by Bruno Friedmann
65 .nh
66 <bruno@ioda\-net.ch>.