Re: nameref, varnames, evalstring can unload loadables while they are being run

2023-11-30 Thread Chet Ramey
On 11/28/23 2:13 AM, Emanuele Torre wrote: I have notices that funsubs can be used to unload loadable builtins while they are being run e.g. This is more of a "my arm hurts when I do this" situation than anything. Maybe a nice to have at some future point. -- ``The lyf so short, the craft so l

Re: Newlines resulting from alias expansion are ignored by here-document processing

2023-11-30 Thread gldrk
This patch appears to solve the issue. As far as I can tell, this routine is only used for here-documents. diff --git a/parse.y b/parse.y index 8fd24a1c..4d361af7 100644 --- a/parse.y +++ b/parse.y @@ -2083,6 +2083,8 @@ read_a_line (remove_quoted_newline) static char *line_buffer = (char *)N

Re: $((expr)) allows the hexadecimal constant "0x"

2023-11-30 Thread Martin D Kealey
Apropos the intentional breakage of ((10#$X)) I wrote (back in June 2023): > > Is there any chance this can be reversed before it becomes an official release? to which Chet replied: > This happened years ago. I have to admit that I'm finding that being a maintainer for a large suite of Bash script

Newlines resulting from alias expansion are ignored by here-document processing

2023-11-30 Thread gldrk
$ cat test alias 'foo=cat