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

2024-11-22 Thread Martin D Kealey
My main argument for the validity of empty==zero has nothing to do with unset variables, and I'm fed up with people dismissing my position as somehow invalid because "relying on unset variables is unsafe". I'm not, so choose a more germane excuse if you're going to dismiss me. For me, the most *lo

Re: [PATCH 03/25] doc/bash.1: Clarify program/man page reference.

2024-11-22 Thread Greg Wooledge
On Thu, Nov 21, 2024 at 22:19:13 -0600, G. Branden Robinson wrote: > diff --git a/doc/bash.1 b/doc/bash.1 > index 23a8dbd6..6c864eab 100644 > --- a/doc/bash.1 > +++ b/doc/bash.1 > @@ -6962,7 +6962,8 @@ .SS "Readline Variables" > its value may change if the locale changes. > .TP > .B page\-comple

Re: history bug: new shell separates lines from the history file

2024-11-22 Thread Martin D Kealey
Hello Michael The previously embedded lines (the for loop) now have got a timestamp (the > one from the shell start?)! > This is unwanted behavior, because now a cursor-up brings the separated > lines. > More precisely, any history read from a history file will *not* be in "command-oriented" mode

Re: [PATCH 09/25] doc/bashref.texi: Favor present tense over future.

2024-11-22 Thread G. Branden Robinson
Hi Chet, I should note that I have further patches in preparation to make parallel changes to the man pages. I meant to hold this one back until those were ready. If this stylistic change is unacceptable, let me know, so I won't waste time finishing that work. :) Regards, Branden At 2024-11-2

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

2024-11-22 Thread Chet Ramey
On 11/22/24 6:55 AM, Martin D Kealey wrote: For me, the most *logical* way to write zero is as the empty string, even if that's not the *customary* way to write it. Feel free to disagree, but be aware we're talking about opinions, not facts, and there are cogent reasoned arguments to be made bot

[PATCH 03/25 v2] doc/bash.1: Clarify program/man page reference.

2024-11-22 Thread G. Branden Robinson
At 2024-11-22T07:09:27-0500, Greg Wooledge wrote: > On Thu, Nov 21, 2024 at 22:19:13 -0600, G. Branden Robinson wrote: > > diff --git a/doc/bash.1 b/doc/bash.1 > > index 23a8dbd6..6c864eab 100644 > > --- a/doc/bash.1 > > +++ b/doc/bash.1 > > @@ -6962,7 +6962,8 @@ .SS "Readline Variables" > > its v