1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

Fix 80 typos in comments

(cherry picked from commit 7dca902a85dc02e5df66f0f45a00d1575e7a0220)
This commit is contained in:
Martijn Dekker 2020-03-01 16:52:45 +01:00
parent 53443bb981
commit 39a14c1000
58 changed files with 80 additions and 80 deletions

View file

@ -407,7 +407,7 @@ got=$r
err_exit "compound indexed array pretty print failed -- expected $exp, got $got"
}
# array of compund variables
# array of compound variables
typeset -C data=(
typeset -a samples
)

View file

@ -291,7 +291,7 @@ LC_ALL=C
x=$"hello"
[[ $x == hello ]] || err_exit 'assignment of message strings not working'
# tests for multibyte characteer at buffer boundary
# tests for multibyte character at buffer boundary
{
print 'cat << \\EOF'
for ((i=1; i < 164; i++))

View file

@ -417,14 +417,14 @@ fun3
typeset -A x=( [a]=1 )
nameref c=x[h]
[[ -v x[h] ]] && err_exit 'creating reference to non-existant associative array element causes element to get added'
[[ -v x[h] ]] && err_exit 'creating reference to non-existent associative array element causes element to get added'
unset a
function x
{
nameref a=a
(( $# > 0 )) && typeset -A a
a[a b]=${1-99} # this was cauing a syntax on the second call
a[a b]=${1-99} # this was causing a syntax on the second call
}
x 7
x 2> /dev/null