packages feed

mcm-0.6.4.10: mcm2html.1

.TH MCM2HTML "1" "January 2016" "mcm2html" "User Commands"
.SH NAME
mcm2html \- Machine Configuration Manager to HTML pretty printer
.SH SYNOPSIS
.B mcm2html
[\fIOPTION\fR..]
\fIFILE\fR
[\fIOPTION\fR..]
.SH DESCRIPTION
.PP
Convert the given .mcm file to a .html_snippet file.
.PP
The generated HTML snippet is a PRE block, intended for inclusion in an HTML page.
Use of the options can output other bits of relevant HTML.
.PP
During conversion, comments are dropped and many MCM constructs are sorted.
.PP
The generated .html_snippet (or .html, depending on options used) file is overwritten if it already exists.
.TP
FILE
input MCM file.
.SH OPTIONS
.TP
\fB\-V\fR, \fB\-\-version\fR
show version
.TP
\fB\-\-head\fR
output (to stdout) the suggested snippet for within <head>
.TP
\fB\-\-css\fR
output (to stdout) the suggested snippet for within an included CSS file
.TP
\fB\-\-fullpage\fR
write a full .html page (instead of .html_snippet)

.SH EXIT STATUS
.TP
0
if OK,
.TP
1
when errors are encountered.

.SH FILES
None but that given on the command line and the same but with either .html or .html_snippet appended.
.SH EXAMPLES
Create .html_snippet version of Go.mcm (written to Go.mcm.html_snippet):
.IP
mcm2html Go.mcm
.PP
Create .html_snippet versions of all .mcm files below the current directory:
.IP
find . -name '*.mcm' -type f -exec mcm2html '{}' ';'
.SH AUTHOR
Written by Anthony Doggett <mcm@interfaces.org.uk>
.SH REPORTING BUGS
Please email the author at the above address, preferably with sufficient information to reproduce the bug.
.SH COPYRIGHT
Copyright (c) 2014-2016 Anthony Doggett
.PP
<http://interfaces.org.uk/mcm>
.SH SEE ALSO
mcm(1)