commit bash-20181005 snapshot

This commit is contained in:
Chet Ramey
2018-10-08 09:19:14 -04:00
parent 5fab8dbf24
commit c87bb0a8f7
24 changed files with 235 additions and 51 deletions
+1 -1
View File
@@ -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
+4
View File
@@ -643,6 +643,10 @@ ir
a b c d e
5
a5b
i
declare -i foo
A
declare -A foo
abcxxxdef
abcådef
ḅć
+14
View File
@@ -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
+6
View File
@@ -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