mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-05 19:30:49 +02:00
commit bash-20150626 snapshot
This commit is contained in:
@@ -218,5 +218,15 @@ unset x
|
||||
: $(case a in a) echo ;; # comment
|
||||
esac)
|
||||
|
||||
# fixed after bash-4.3 released
|
||||
testing=$(
|
||||
echo test | while read line; do
|
||||
case $line in
|
||||
test) echo saw test ;;
|
||||
*) echo other ;;
|
||||
esac
|
||||
done
|
||||
)
|
||||
|
||||
# recommended to be parsed as a nested comsub instead of arithsub
|
||||
echo $(( echo ab cde ) )
|
||||
|
||||
Reference in New Issue
Block a user