bug-gawk
[Top][All Lists]
Advanced

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

Re: fflush & close behavior not well-defined


From: Nelson H. F. Beebe
Subject: Re: fflush & close behavior not well-defined
Date: Mon, 14 Sep 2020 15:37:33 -0600

I have read today's posting on the subject of quoted strings in
close() calls, where those strings are ambiguous.  My feelings are
that

    (a) because neither awk's original authors nor POSIX had dealt with this
        issue, and

    (b) because it is likely in practice to be exceedingly rare, and

    (c) because gawk should not introduce changes to the awk language
        unless they introduce significant new functionality (like
        gensub(), extension libraries, and access to multiple
        precision arithmetic).

Thus all that gawk should do for the close() issue is to add one
sentence to one of its noteworthy "dark corners" in the gawk manual,
and leave gawk's code unchanged.

-------------------------------------------------------------------------------
- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
- University of Utah                    FAX: +1 801 581 4148                  -
- Department of Mathematics, 110 LCB    Internet e-mail: beebe@math.utah.edu  -
- 155 S 1400 E RM 233                       beebe@acm.org  beebe@computer.org -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe/ -
-------------------------------------------------------------------------------



reply via email to

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