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