fix typo in readline custom LS_COLORS extension; fix so `time' is recognized as a reserved word after $( and ${; don't run traps while parsing a command substitution

This commit is contained in:
Chet Ramey
2023-09-07 17:09:24 -04:00
parent f4683835d8
commit aab2c1fb1d
17 changed files with 2751 additions and 2650 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ echo abcde | {
echo $a
}
read -t .0001 a <<<abcde
read -t .001 a <<<abcde
echo $a
# this is the original test that prompted the change to sh_timers
+1 -2
View File
@@ -57,10 +57,9 @@ echo abcde | {
echo $a
}
read -e -t .0001 a <<<abcde
read -e -t .001 a <<<abcde
echo $a
set -o posix
read -t 0.1 a </dev/tty
echo $a