mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-09 13:10:50 +02:00
commit bash-20181005 snapshot
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
||||
BUILD_DIR=/usr/local/build/bash/bash-current
|
||||
BUILD_DIR=/usr/local/build/chet/bash/bash-current
|
||||
THIS_SH=$BUILD_DIR/bash
|
||||
PATH=$PATH:$BUILD_DIR
|
||||
|
||||
|
||||
@@ -643,6 +643,10 @@ ir
|
||||
a b c d e
|
||||
5
|
||||
a5b
|
||||
i
|
||||
declare -i foo
|
||||
A
|
||||
declare -A foo
|
||||
abcxxxdef
|
||||
abcådef
|
||||
ḅć
|
||||
|
||||
@@ -84,3 +84,17 @@ set -- a b c d e
|
||||
echo ${@}
|
||||
echo ${#@}
|
||||
echo a${#@}b
|
||||
|
||||
# new feature in bash-5.0: display attributes of even unset variables
|
||||
unset -v foo
|
||||
|
||||
declare -i foo
|
||||
echo ${foo@a}
|
||||
|
||||
declare -p foo
|
||||
|
||||
unset foo
|
||||
declare -A foo
|
||||
echo ${foo@a}
|
||||
|
||||
declare -p foo
|
||||
|
||||
@@ -40,6 +40,7 @@ shopt -s interactive_comments
|
||||
shopt -u lastpipe
|
||||
shopt -u lithist
|
||||
shopt -u localvar_inherit
|
||||
shopt -u localvar_unset
|
||||
shopt -u login_shell
|
||||
shopt -u mailwarn
|
||||
shopt -u no_empty_cmd_completion
|
||||
@@ -47,6 +48,7 @@ shopt -u nocaseglob
|
||||
shopt -u nocasematch
|
||||
shopt -u nullglob
|
||||
shopt -s progcomp
|
||||
shopt -u progcomp_alias
|
||||
shopt -s promptvars
|
||||
shopt -u restricted_shell
|
||||
shopt -u shift_verbose
|
||||
@@ -100,12 +102,14 @@ shopt -u inherit_errexit
|
||||
shopt -u lastpipe
|
||||
shopt -u lithist
|
||||
shopt -u localvar_inherit
|
||||
shopt -u localvar_unset
|
||||
shopt -u login_shell
|
||||
shopt -u mailwarn
|
||||
shopt -u no_empty_cmd_completion
|
||||
shopt -u nocaseglob
|
||||
shopt -u nocasematch
|
||||
shopt -u nullglob
|
||||
shopt -u progcomp_alias
|
||||
shopt -u restricted_shell
|
||||
shopt -u shift_verbose
|
||||
shopt -u xpg_echo
|
||||
@@ -140,12 +144,14 @@ inherit_errexit off
|
||||
lastpipe off
|
||||
lithist off
|
||||
localvar_inherit off
|
||||
localvar_unset off
|
||||
login_shell off
|
||||
mailwarn off
|
||||
no_empty_cmd_completion off
|
||||
nocaseglob off
|
||||
nocasematch off
|
||||
nullglob off
|
||||
progcomp_alias off
|
||||
restricted_shell off
|
||||
shift_verbose off
|
||||
xpg_echo off
|
||||
|
||||
Reference in New Issue
Block a user