mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-06 20:00:49 +02:00
Bash-5.3-alpha release
This commit is contained in:
@@ -66,6 +66,15 @@ case " " in ( [" "] ) echo ok;; ( * ) echo no;; esac
|
||||
case esac in (esac) echo esac;; esac
|
||||
case k in else|done|time|esac) for f in 1 2 3 ; do :; done esac
|
||||
|
||||
# null words and patterns
|
||||
var=value
|
||||
case $unset in
|
||||
'') echo unset word ok 1 ;;&
|
||||
$unset|$var) echo unset word ok 2 ;;&
|
||||
unset|$unset) echo unset word ok 3 ;;
|
||||
*) echo unset word bad ;;
|
||||
esac
|
||||
|
||||
# tests of quote removal and pattern matching
|
||||
${THIS_SH} ./case1.sub
|
||||
${THIS_SH} ./case2.sub
|
||||
|
||||
Reference in New Issue
Block a user