From: Bruno Friedmann Date: Wed, 2 Nov 2011 08:15:15 +0000 (+0100) Subject: Add missing bwild & bregex man8 pages X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0885b1465deac0da56afda88f2da62188127fd3c;p=bacula%2Fbacula Add missing bwild & bregex man8 pages --- diff --git a/bacula/manpages/Makefile.in b/bacula/manpages/Makefile.in index 38f28c2b5a..489d5b7604 100644 --- a/bacula/manpages/Makefile.in +++ b/bacula/manpages/Makefile.in @@ -6,7 +6,7 @@ MAN8 = bacula.8 bacula-dir.8 bacula-fd.8 bacula-sd.8 \ bconsole.8 bcopy.8 bextract.8 bls.8 bscan.8 btape.8 \ - btraceback.8 dbcheck.8 + btraceback.8 dbcheck.8 bwild.8 bregex.8 MAN1 = bacula-tray-monitor.1 bacula-bwxconsole.1 bsmtp.1 bat.1 diff --git a/bacula/manpages/bregex.8 b/bacula/manpages/bregex.8 new file mode 100644 index 0000000000..c3488c448c --- /dev/null +++ b/bacula/manpages/bregex.8 @@ -0,0 +1,61 @@ +.\" 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" "Network backup, utilities" +.\" 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 insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME + bregex \- Bacula's 'regex' engine +.SH SYNOPSIS +.B bregex +.RI [ options ] +.I -f +.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\fP and +.\" \fI\fP escape sequences to invode 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\ +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 +. diff --git a/bacula/manpages/bwild.8 b/bacula/manpages/bwild.8 new file mode 100644 index 0000000000..51fe09f927 --- /dev/null +++ b/bacula/manpages/bwild.8 @@ -0,0 +1,66 @@ +.\" 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 BWILD 8 "30 October 2011" "Kern Sibbald" "Network backup, utilities" +.\" 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 insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME + bwild \- Bacula's 'wildcard' engine +.SH SYNOPSIS +.B bwild +.RI [ options ] +.I -f +.br +.SH DESCRIPTION +This manual page documents briefly the +.B bwild +command. +.br +This is a simple program that will allow you to test wild-card expressions against a file of data. +.PP +.\" TeX users may be more comfortable with the \fB\fP and +.\" \fI\fP escape sequences to invode 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\ +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. +.br +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. +.TP +.BI \-n +Print lines that do not match +.TP +.BI \-l +Suppress lines numbers. +.TP +.BI \-i +use case insensitive match. +.SH SEE ALSO +.BR fnmatch(3) +.br +.SH AUTHOR +This manual page was written by Bruno Friedmann +.nh +.