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: Mon, 10 Feb 2025 23:13:33 +0100

On Mon, Feb 10, 2025 at 11:10 PM Greg Wooledge <greg@wooledge.org> wrote:

>
> hobbit:~$ phi 029
> bash: ((: 029: value too great for base (error token is "029")
> bash: ((: 029: value too great for base (error token is "029")
>
> So we come full circle.
>

Nope phi() is not mine and doesn't remove the error message, see my prev
post about nuking $((....)) syntax error

029 is not a number

my latest post gives

$ isanum  029  && echo y || echo n
n


reply via email to

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