Hi,
While trying to capture line numbers in an array to print with the rest
of the shell's debugging info, a segfault ..
Wiley
[liveuser@localhost-live]$ bash
...
$ set -x
+ set -x
$ echo $SHLVL
+ echo 2
2
$ declare -n n=BASH_SOURCE; declare -n e=LINENO; shopt -s expand_aliases
+ d
On 5/27/23 11:57 PM, Grisha Levit wrote:
The below seems like a cheap fix for UTF-8 locales. Since Bash falls
back to using the single-byte glob matching functions when presented
with invalid multibyte strings, this patch makes the glob code avoid
calling the ctype functions or strcoll when handl
On 5/26/23 3:44 AM, Grisha Levit wrote:
If expanding a \u (or \U) escape sequence fails, Bash replaces the
input escape sequence with a newly generated one:
$ LC_ALL=C printf %b \\U80
\u0080
Bash normalizes to a consistent result across printf/echo/$''.
Since this new sequence may by longer
On 5/25/23 6:10 PM, Grisha Levit wrote:
I noticed a couple of other bits missing from the patch as applied
though. (The first because pending_bytes_length is not defined
without HANDLE_MULTIBYTE, the second to have quoted insert work
without a negative argument).
Thanks for the update.
Chet
On 5/28/23 2:05 AM, Martin D Kealey wrote:
On Tue, 23 May 2023 at 23:32, Chet Ramey wrote:
On 5/22/23 10:56 PM, Martin D Kealey wrote:
For example, if one is filling an array in random order, rather than
progressively adding to the end, then it is useful and makes sense to be
able to ask the