fix expansion of $* and $@ in contexts where word splitting is not performed to be more consistent across different word expansions; fix pathname canonicalization when setting $BASH

This commit is contained in:
Chet Ramey
2025-11-24 09:51:15 -05:00
parent bcac47f08a
commit 4e705ed53a
13 changed files with 200 additions and 37 deletions
+2 -1
View File
@@ -63,7 +63,8 @@ echo Any output from any test, unless otherwise noted, indicates a possible anom
# keep track of passed and failed tests and report them
if [ -t 1 ]; then
if type -P tput >/dev/null; then
CSTART=$(tput setaf 15 setab 1) CEND=$(tput sgr0)
# CSTART=$(tput bold ; tput setaf 15 ; tput setab 1) CEND=$(tput sgr0)
CSTART=$(tput bold ; tput setab 9 ; tput setaf 7) CEND=$(tput sgr0)
else
# can't rely on having $'...' or printf understanding \e
# bright red background, white foreground text