Quote:
Originally Posted by scotty1024
I can slice, dice and frappe PDF. What exactly are you looking for? (BTW sprinkles cost extra)
|
I'm looking for a pdf file that one can execute in bash (by means of a source or include (".") from another bash script), so if there are some invalid lines at the beginning it's not very important (it's a source of the file, not a direct script exec, so it doesn't have to begin with the she-bang).
Then, the pdf file should begin in ascii (the beginning of PDFs is usually ascii, albeit with lines delimited with CRs instead of NLs, so I don't expect problems here), and the "object with the plain-text script" has to be near to the beginning (to be sure that bash don't bail out because of extrange characters).
Is it easily doable?
Thanks scotty1024 :-)
P.S.: I have not tested with pdftk, but I think it doesn't put the embedded files near the the beginning of the generated pdf... or am I mistaken?