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:
parent
53443bb981
commit
39a14c1000
58 changed files with 80 additions and 80 deletions
|
|
@ -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
|
||||
)
|
||||
|
|
|
|||
|
|
@ -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++))
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue