On Fri, Sep 08, 2017, Steffen Nurpmeso wrote: > i wrote: > |Peter Schaffter <pe...@schaffter.ca> wrote: > ||On Fri, Sep 08, 2017, Ralph Corderoy wrote: > ||>> You'll notice that the top of the pdf file has a line of text spit out > ||>> by grep(1) that obviously shouldn't be there. > ... > ||Problem solved. > ... > ||The solution is to pass the -a flag to grep. > > This flag is not standardized, though i failed to find a system > that does not have it with a shallow glance (*BSD, Linux). > ... > Yes, but a very simple implementation is appended that simply > converts the thing into a three-step approach. This requires one > temporary file. I am also a bit rusty regarding perl, yet > mom-pdf.mom and camus.mom both work out fine.
Same here with the patch applied. You're right: -a is not a POSIX flag. Even though most implementations of grep have it these days, it's wise to find an alternative. Deri, pdfmom is your baby. Any thoughts? -- Peter Schaffter http://www.schaffter.ca