#!/usr/bin/perl # $Id: sgmlfmt.pl,v 1.5 1995/08/29 01:02:12 jfieber Exp $ # Format an sgml document tagged according to the linuxdoc DTD. # by John Fieber for the FreeBSD documentation # project. # # Usage: sgmlformat -format [-format ...] [-links] inputfile [inputfile ...] # # -format outputfile format # ------------------------------------------------------------- # -html inputfile.html HTML # -txt | -ascii inputfile.ascii ascii text # -tex | -latex inputfile.tex LaTeX # -nroff inputfile.nroff groff for ms macros # -ps inputfile.ps postscript # # -links For each