Re: Make reverse-i-search failure joltingly clear

2023-12-12 Thread Dan Jacobson
Well these days the chances of bells, visual or audible, getting through are less and less, e.g., https://github.com/alacritty/alacritty/issues/1528 and on chromebook one must turn the bell on, etc. So I still think something different should happen than each forlorn character just mounting up on

Add example of bind readline-command-line

2023-12-12 Thread Dan Jacobson
bash man page says -v Display readline variable names and values in such a way that they can be re-read. Perhaps add an example of rereading via the bind command: $ bind 'set bell-style visible' else the user might try: $ echo set bell-style visible|bind Yes,

[PATCH] preserve $_ value across prompt expansions

2023-12-12 Thread Grisha Levit
Since expanding a prompt string that contains a funsub will modify the value of $_, would it make sense to restore the value of $_ after the expansion is complete, as we do when executing PROMPT_COMMAND? $ PS0='${ : X; }' bash --norc bash-5.3$ : A bash-5.3$ echo $_ X P.S. Technica

Re: Add example of bind readline-command-line

2023-12-12 Thread Greg Wooledge
On Tue, Dec 12, 2023 at 10:06:49PM +0800, Dan Jacobson wrote: > bash man page says > -v Display readline variable names and values in such a way > that they can be re-read. > Perhaps add an example of rereading via the bind command: The man page also include

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

2023-12-12 Thread Steffen Nurpmeso
Koichi Murase wrote in : |2023年12月10日(日) 15:58 Koichi Murase : |> 2023年12月10日(日) 14:13 Martin D Kealey : ... |> I'm not a big fan of `10#[-+]digits' and invalidating `10#' either ... |I checked the behaviors of different shells because I was interested |in them. They seem to vary more than