Re: An inconsistency of the outputs of help builtin

2024-12-23 Thread Chet Ramey
On 12/20/24 7:30 PM, Lawrence Velázquez wrote: On Fri, Dec 20, 2024, at 8:09 AM, Greg Wooledge wrote: help -d cdoes not exactly match anything, so it's treated like c\* Is this documented somewhere? I'm not seeing anything about it in the man page or texinfo manual. If the argument cont

Re: Bash' code to store string of any characters containing pair of "" and '' at once

2024-12-23 Thread Chet Ramey
On 12/21/24 7:29 PM, Robert Elz wrote: I'm not sure of its origins (it was proposed to POSIX decades ago), Chet can confirm, but I suspect bash picked it up from the proposal to POSIX. It predated that. There was a group of shell implementors who got together to discuss possible POSIX extensio

Re: ${| command; } funsub not setting REPLY does not error out with 'set -u' active

2024-12-23 Thread Chet Ramey
On 12/20/24 11:04 AM, Zachary Santer wrote: Explicitly attempting to expand any one of those with a parameter expansion when it's unset and 'set -u' is active will cause bash to error out. ${| command; } is likewise also an explicit attempt to expand the value of a variable, this time the instan