Re: "printf %d ''" should diagnose the empty string
From:
Greg Wooledge
Subject:
Re: "printf %d ''" should diagnose the empty string
Date:
Mon, 10 Feb 2025 12:44:23 -0500
User-agent:
Mutt/1.10.1 (2018-07-13)
On Mon, Feb 10, 2025 at 17:32:24 +0100, Phi Debian wrote:
> On Mon, Feb 10, 2025 at 3:43 PM Greg Wooledge <greg@wooledge.org> wrote:
>
> >
> > Can you please explain *how* this is working in older bash versions?
> >
>
> I forgot to mention 'best on modern bash' :-),
> as well as you forgot to mention
>
> 'The following line noise is the best *general* answer we've found
> so far: with dyno bash'
No, I've shown that it *is* working in older versions of bash, and I'm
asking *why*.
As far as I can tell by reading the CHANGES file, it shouldn't work.
But it does.