Re: bash builtins mapfile issue - Unexpected parameter passing of causes rce

2024-09-16 Thread Chet Ramey
On 9/14/24 7:46 AM, ~ via Bug reports for the GNU Bourne Again SHell wrote: Dear bug-bash team:   I hope this email finds you well. During my recent security assessment of bash, I identified a potential security vulnerability that I believe may impact the security of your product and its users.

Re: Readline Documentation

2024-09-16 Thread Chet Ramey
On 9/14/24 2:45 PM, G. Branden Robinson wrote: At 2024-09-13T15:24:15-0400, Chet Ramey wrote: It has no effects in its default state. If you don't change it, nothing happens. If you change it, you change `bell-style' instead. The fact that its usage continues suggests documenting it as depreca

[PATCH] prompt: add \m, PROMPTTIMEFORMAT, shopt prompt_time_all

2024-09-16 Thread Evan Gates
Expand \m in prompts according to PROMPTTIMEFORMAT for the last timed command. This is an easy way to get the result of time without redirections by using @P expansions. Add shopt prompt_time_all to time every command run. Used in combination with \m the time of the previous command can be added

(question) fast split/join of strings

2024-09-16 Thread William Park
Hi all, Is there fast way of splitting and joining of strings in the recent Bash versions? For splitting, I'm aware of old="a,b,c" IFS=, read -a arr <<< "$old" For joining, new=$(IFS=,; echo "${arr[*]}") or new=$(IFS=,; echo "$*")

Re: (question) fast split/join of strings

2024-09-16 Thread Lawrence Velázquez
This question is more appropriate for help-bash than bug-bash. On Tue, Sep 17, 2024, at 2:21 AM, William Park wrote: > Hi all, > > Is there fast way of splitting and joining of strings in the recent Bash > versions? Define "fast". > For splitting, I'm aware of > old="a,b,c" > IFS=, re