groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] pdfmom grep (was parallel text processing)


From: Peter Schaffter
Subject: Re: [Groff] pdfmom grep (was parallel text processing)
Date: Fri, 8 Sep 2017 19:11:22 -0400
User-agent: Mutt/1.5.24 (2015-08-30)

On Fri, Sep 08, 2017, Steffen Nurpmeso wrote:
> i wrote:
>  |Peter Schaffter <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]