#!/bin/sh # Any copyright is dedicated to the Public Domain. # http://creativecommons.org/licenses/publicdomain/ # To remove underlining from comments (which looks ugly), add the line: # # face_comment = make_face (font, 0, 0); # # to the relevant part of /usr/share/enscript/hl/styles_a2ps.st # No CSS or XUL yet because enscript won't autodetect the right highlighter, # and to specify it explicitly would require more magic. And just having them # pass through in the standard colour is dull. find . -regextype posix-basic -regex ".*\.\(h\|c\|cpp\|html\|js\|sh\|mk\|idl\)$" -exec enscript --style=a2ps --color --language=ansi --highlight -q -o - {} \;