Next Trivial Utilities 115

print: File conversion

        1->ps           groff -mandoc %I > %O
        2->ps           groff -mandoc %I > %O
        ...     
        man->ps         groff -mandoc %I > %O
        1->pcl          groff -mandoc -Tlj4 %I > %O
        2->pcl          groff -mandoc -Tlj4 %I > %O
        ...
        # Perl source code and documentation
        pod->3          pod2man < %I > %O
        pm->3           pod2man < %I > %O
        pl->txt         cat %I > %O
        pl->ps          a2ps -l66 -nL -p -nP -1 -Xletter 
        # Microsoft Word Files
        doc->latex      wvLatex %I
        # doc->html      wvHtml %I
        # fake type for printing email files
        email->latex    /usr/local/bin/emailtolatex < %I > %O


Next Menu Copyright © 2012 M. J. Dominus