bug-bash
[Top][All Lists]
Advanced

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

Re: "printf %d ''" should diagnose the empty string


From: Phi Debian
Subject: Re: "printf %d ''" should diagnose the empty string
Date: Thu, 13 Feb 2025 09:11:31 +0100

On Thu, Feb 13, 2025 at 6:18 AM Oğuz <oguzismailuysal@gmail.com> wrote:

>
>
> Changes made to built-in printf have to be adopted by GNU printf, otherwise
> the user will have two flavors of printf on the same system by the same
> name.
> --
> Oğuz
>

You sure about the adopted by GNU printf assertion ?

$ /usr/bin/printf '%(*)T\n'
/usr/bin/printf: %(: invalid conversion specification
$ printf '%(*)T\n'
*

It is clear the buitin printf != /bin/printf


reply via email to

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