[Top][All Lists]

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

Re: [Groff] mdoc(7) interpretation differences (maybe groff bug)

From: Ralph Corderoy
Subject: Re: [Groff] mdoc(7) interpretation differences (maybe groff bug)
Date: Tue, 11 Nov 2014 12:54:44 +0000

Hi Steffen,

> (For the list: mawk(1) requires a fflush("") in order to "getline <
> NAME" a file NAME that has been written via "print >> NAME" before,
> even though fflush("") is not standard and i cannot imagine a
> situation where an awk(1) script would not like to see a fflush("") on
> NAME before it starts a getline.)

Can you not close() NAME after writing to it before re-opening it for
getline?  From mawk(1):

    Close is used to reread a file or command,

Cheers, Ralph.

reply via email to

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