On 12/5/2006, at 20:54, Robert M. Ullrey wrote:
[...] I can get prince to run, but not glob the css file name. My end product is a PDF of the html source file. Cutie, but not what I want.
CSS_FILES=$(ruby <"$TM_FILEPATH" -ne 'puts $1 if /<link(?=[^>]*? type="text/css")[^>]*?href="(.*?)"/')
This will give all href arguments to link tags of type text/css.