groff
[Top][All Lists]
Advanced

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

Re: Groff bug: echo foo | groff -Pbar


From: John Gardner
Subject: Re: Groff bug: echo foo | groff -Pbar
Date: Tue, 29 Sep 2020 07:08:20 +1000

>
> echo foo  |  troff >&-


Erh, yeah, that's… probably gonna cause issues...

I get the same error you reported earlier, but why on Earth are you closing
the file descriptor?

On Tue, 29 Sep 2020 at 06:31, <hackerb9@member.fsf.org> wrote:

> I think there may be a race condition caused by the groff pipeline. Just to
> be sure, please try
>
>     echo foo  |  troff >&-
>
> My earlier command was causing troff to dump core when its stdout was
> closed (by grops exiting) before it finished writing.
>
> —b9
>
>
>
>
> On Mon, Sep 28, 2020 at 7:04 AM G. Branden Robinson <
> g.branden.robinson@gmail.com> wrote:
>
> > At 2020-09-28T03:44:41+1000, John Gardner wrote:
> > > The error I get with groff 1.22.4 is different:
> > >
> > > $ echo foo | groff -Pbar
> > > grops: can't open file 'bar'
> >
> > I can't reproduce this either, with groff 1.22.4 (Debian) or groff git
> > HEAD.
> >
> > Regards,
> > Branden
> >
>


reply via email to

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