mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-31 23:43:37 +02:00
commit bash-20190619 snapshot
This commit is contained in:
@@ -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
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user