1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-28 01:58:17 +03:00

Updated the docs to match the changes I made to debug2html.

Chris -)-----
(This used to be commit fcbdf5fe9790298d519b678ff3a6121641c1e6d9)
This commit is contained in:
Christopher R. Hertel 1998-12-29 21:16:08 +00:00
parent 8cb794707b
commit a75a4daafd
3 changed files with 30 additions and 21 deletions

View File

@ -24,17 +24,20 @@
<p><br><a name="SYNOPSIS"></a>
<h2>SYNOPSIS</h2>
<p><br>debug2html [&lt;input-file] [&gt;output-file]
<p><br>debug2html [input-file [output-file]]
<p><br><a name="DESCRIPTION"></a>
<h2>DESCRIPTION</h2>
<p><br>This program is part of the <strong>Samba</strong> suite.
<p><br><strong>debug2html</strong> is simple a filter. That is, it accepts input from
<strong>stdin</strong> and directs its output to <strong>stdout</strong>. The input is expected to
be a log file generated by <strong>nmbd</strong>(8) or <strong>smbd</strong>(8). The output will be
an HTML 3.2 document.
<p><br>Example usage:
<p><br>debug2html &lt;/usr/local/samba/var/log.nmb &gt;nmblog.html <br>
<p><br><strong>debug2html</strong> generates HTML files from Samba log files. Log files
produced by <strong>nmbd</strong>(8) or <strong>smbd</strong>(8) may then be viewed by a web
browser. The output conforms to the HTML 3.2 specification.
<p><br>The filenames specified on the command line are optional. If the
output-file is ommitted, output will go to <strong>stdout</strong>. If the input-file
is ommitted, <strong>debug2html</strong> will read from <strong>stdin</strong>. The filename "-"
can be used to indicate that input should be read from <strong>stdin</strong>. For
example:
<p><br><code>cat /usr/local/samba/var/log.nmb | debug2html - nmblog.html</code> <br>
<p><br><a name="VERSION"></a>
<h2>VERSION</h2>

View File

@ -5,20 +5,23 @@ debug2html \- Samba DEBUG to HTML translation filter
.PP
.SH "SYNOPSIS"
.PP
debug2html [<input-file] [>output-file]
debug2html [input-file [output-file]]
.PP
.SH "DESCRIPTION"
.PP
This program is part of the \fBSamba\fP suite\&.
.PP
\fBdebug2html\fP is simple a filter\&. That is, it accepts input from
\fBstdin\fP and directs its output to \fBstdout\fP\&. The input is expected to
be a log file generated by \fBnmbd\fP(8) or \fBsmbd\fP(8)\&. The output will be
an HTML 3\&.2 document\&.
\fBdebug2html\fP generates HTML files from Samba log files\&. Log files
produced by \fBnmbd\fP(8) or \fBsmbd\fP(8) may then be viewed by a web
browser\&. The output conforms to the HTML 3\&.2 specification\&.
.PP
Example usage:
The filenames specified on the command line are optional\&. If the
output-file is ommitted, output will go to \fBstdout\fP\&. If the input-file
is ommitted, \fBdebug2html\fP will read from \fBstdin\fP\&. The filename "-"
can be used to indicate that input should be read from \fBstdin\fP\&. For
example:
.PP
debug2html </usr/local/samba/var/log\&.nmb >nmblog\&.html
\f(CWcat /usr/local/samba/var/log\&.nmb | debug2html - nmblog\&.html\fP
.br
.PP
.SH "VERSION"

View File

@ -10,21 +10,24 @@ manpagename(debug2html)(Samba DEBUG to HTML translation filter)
label(SYNOPSIS)
manpagesynopsis()
debug2html [<input-file] [>output-file]
debug2html [input-file [output-file]]
label(DESCRIPTION)
manpagedescription()
This program is part of the bf(Samba) suite.
bf(debug2html) is simple a filter. That is, it accepts input from
bf(stdin) and directs its output to bf(stdout). The input is expected to
be a log file generated by bf(nmbd)(8) or bf(smbd)(8). The output will be
an HTML 3.2 document.
bf(debug2html) generates HTML files from Samba log files. Log files
produced by bf(nmbd)(8) or bf(smbd)(8) may then be viewed by a web
browser. The output conforms to the HTML 3.2 specification.
Example usage:
The filenames specified on the command line are optional. If the
output-file is ommitted, output will go to bf(stdout). If the input-file
is ommitted, bf(debug2html) will read from bf(stdin). The filename "-"
can be used to indicate that input should be read from bf(stdin). For
example:
debug2html </usr/local/samba/var/log.nmb >nmblog.html nl()
tt(cat /usr/local/samba/var/log.nmb | debug2html - nmblog.html) nl()
label(VERSION)
manpagesection(VERSION)