commit bash-20190619 snapshot

This commit is contained in:
Chet Ramey
2019-06-21 09:27:56 -04:00
parent 55efd63c03
commit 48492ffae2
15 changed files with 94 additions and 15 deletions
-1
View File
@@ -12,7 +12,6 @@ unset: usage: unset [-f] [-v] [-n] [name ...]
./errors.tests: line 42: unset: func: cannot unset: readonly function
./errors.tests: line 45: declare: func: readonly function
./errors.tests: line 49: unset: XPATH: cannot unset: readonly variable
./errors.tests: line 52: unset: `/bin/sh': not a valid identifier
./errors.tests: line 55: unset: cannot simultaneously unset a function and a variable
./errors.tests: line 58: declare: -z: invalid option
declare: usage: declare [-aAfFgilnrtux] [-p] [name[=value] ...]
+5 -2
View File
@@ -79,8 +79,8 @@ argv[1] = <./t\mp/a/*>
argv[1] = <./tmp/a/b/c>
argv[1] = <./tmp/a/>
argv[1] = <./tmp/a/b/>
argv[1] = <./t\mp/a/>
argv[1] = <./t\mp/a/b/>
argv[1] = <./tmp/a/>
argv[1] = <./tmp/a/b/>
argv[1] = <./tmp/a/*>
argv[1] = <./tmp/a/b/c>
argv[1] = <./tmp/a>
@@ -88,6 +88,9 @@ argv[1] = <./tmp/a/b*>
argv[1] = <./tmp/a>
argv[1] = <./tmp/a/b*>
argv[1] = <./tmp/>
argv[1] = <\$foo>
argv[2] = <\$foo>
argv[1] = <mixed\$foo/>
argv[1] = <a>
argv[2] = <abc>
argv[3] = <abd>
+9
View File
@@ -50,5 +50,14 @@ recho ./t\mp/
chmod +r ./tmp/a
rm -rf ./tmp/a
a='$foo'
b='$bar'
a=$(echo "$a" | sed 's/\$/\\$/g')
recho $a "$a"
recho 'mixed'$a/
unset a b
cd $ORIGD
rm -rf $SD
+2
View File
@@ -47,6 +47,7 @@ shopt -u no_empty_cmd_completion
shopt -u nocaseglob
shopt -u nocasematch
shopt -u nullglob
shopt -s posixglob
shopt -s progcomp
shopt -u progcomp_alias
shopt -s promptvars
@@ -68,6 +69,7 @@ shopt -s force_fignore
shopt -s globasciiranges
shopt -s hostcomplete
shopt -s interactive_comments
shopt -s posixglob
shopt -s progcomp
shopt -s promptvars
shopt -s sourcepath