bug-gawk
[Top][All Lists]
Advanced

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

Re: print and printf() function not in FUNCTAB or PROCINFO


From: J Naman
Subject: Re: print and printf() function not in FUNCTAB or PROCINFO
Date: Fri, 28 Jan 2022 22:04:43 -0500

Yes, it does. As clearly documented in the User Guide, 5.1+. I was looking
at it in terms of sprintf() ...  sigh

On Fri, Jan 28, 2022 at 4:49 PM Andrew J. Schorr <
aschorr@telemetry-investments.com> wrote:

> Hi,
>
> On Fri, Jan 28, 2022 at 02:56:40PM -0500, J Naman wrote:
> > This is a micro-bug, if at all;
> > ("sprintf" in FUNCTAB) == TRUE
> > ("printf" in FUNCTAB) == FALSE
> > ("print" in FUNCTAB) == FALSE
> > same as above for PROCINFO["identifiers"]
> > FYI: I don't care, just noticed it on the fly.
>
> I believe it's because printf is considered a statement, like getline, not
> a
> function like sprintf or gensub. Does that make sense?
>
> Regards,
> Andy
>


reply via email to

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