MCM2HTML

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXIT STATUS
FILES
EXAMPLES
AUTHOR
REPORTING BUGS
COPYRIGHT
SEE ALSO

NAME

mcm2html - Machine Configuration Manager to HTML pretty printer

SYNOPSIS

mcm2html [OPTION..] FILE [OPTION..]

DESCRIPTION

Convert the given .mcm file to a .html_snippet file.

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.

During conversion, comments are dropped and many MCM constructs are sorted.

The generated .html_snippet (or .html, depending on options used) file is overwritten if it already exists.

FILE

input MCM file.

OPTIONS

-V, --version

show version

--head

output (to stdout) the suggested snippet for within <head>

--css

output (to stdout) the suggested snippet for within an included CSS file

--fullpage

write a full .html page (instead of .html_snippet)

EXIT STATUS

0

if OK,

1

when errors are encountered.

FILES

None but that given on the command line and the same but with either .html or .html_snippet appended.

EXAMPLES

Create .html_snippet version of Go.mcm (written to Go.mcm.html_snippet):

mcm2html Go.mcm

Create .html_snippet versions of all .mcm files below the current directory:

find . -name ’*.mcm’ -type f -exec mcm2html ’{}’ ’;’

AUTHOR

Written by Anthony Doggett <mcm@interfaces.org.uk>

REPORTING BUGS

Please email the author at the above address, preferably with sufficient information to reproduce the bug.

COPYRIGHT

Copyright (c) 2014-2019 Anthony Doggett

<http://interfaces.org.uk/mcm>

SEE ALSO

mcm(1)