[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: Steffen Nurpmeso
Subject: Re: [Groff] mdoc(7) interpretation differences (maybe groff bug)
Date: Tue, 11 Nov 2014 14:29:00 +0100
User-agent: s-nail v14.7.8-70-g9310369

Ralph Corderoy <address@hidden> wrote:
 |> (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,

Bummer.  Never used close(), never seen it.  Didn't try yet, but
it'll surely fix the problem with mawk(1).
Thanks Ralph.  (Poor Thomas Dickey, excuse me, excuse me.)


reply via email to

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