Re: AW: [PATCH] fix:awk: CONVFMT segfaults with %n, wrong output with %p

Alexis via busybox <[email protected]> Wed, 06 May 2026 13:37:41 +1000
Newsgroups gmane.linux.busybox
Message-ID <[email protected]>
"Schindler, Dietmar - OTPS via busybox" <[email protected]> 
writes:

> The output cannot be wrong, because according to
> https://pubs.opengroup.org/onlinepubs/9799919799/utilities/awk.html
> and
> https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/V1_chap05.html:
>
> "If any character sequence in the format string begins with a 
> '%'
> character, but does not form a valid conversion specification, 
> the
> behavior is unspecified."

i'd be interested to know what other awk implementations (e.g. One 
True Awk, mawk) do here ....


Alexis.