[PATCH] awk: add '*' as a valid specifier for width and precision in printf
David Laight
david.laight.linux at gmail.com
Fri Jun 26 10:51:48 UTC 2026
On Fri, 26 Jun 2026 13:54:20 +0530
Anubhav Kokane <dev.anubhavk at gmail.com> wrote:
> On Fri, Jun 26, 2026 at 12:32 PM David Laight
> <david.laight.linux at gmail.com> wrote:
> >
> >
> > There has to be a better way of doing it.
> > And one that treats "%*4s" as an error.
> >
> > David
>
>
> Sure I will look into the alternative methods to achieve this.
> Do you have a specific way I should look into?
> Thank you for your time.
I don't have the code for awk lurking, but you just need to find
where it converts the digit strings and do the va_arg() there.
Shouldn't be too hard.
I added the code to linux's 'nolibc' printf code not that long ago.
David
>
> Anubhav
More information about the busybox
mailing list