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

Fix 39 spelling errors and a formatting issue

A column of whitespace in the NEWS file was removed for consistent
formatting. Most of the spelling errors were found with this
codespell dictionary:
https://github.com/orbitcowboy/codespell_dictionary

(cherry picked from commit 0e36b17abe5609c461a3e4da7041eb0fdf9991b7)
This commit is contained in:
Johnothan King 2020-06-10 05:16:53 -07:00 committed by Martijn Dekker
parent 90fd867171
commit e92faddbf9
22 changed files with 53 additions and 53 deletions

View file

@ -292,7 +292,7 @@ $SHELL -c "$SHELL -c ': 3>&1' 1>&- 2>/dev/null" && err_exit 'closed standard out
[[ $(cat <<- \EOF | $SHELL
do_it_all()
{
dd 2>/dev/null # not a ksh93 buildin
dd 2>/dev/null # not a ksh93 builtin
return $?
}
do_it_all ; exit $?

View file

@ -58,12 +58,12 @@ ln -s $SHELL rksh
PATH=$PWD:$PATH
rksh -c '[[ -o restricted ]]' || err_exit 'restricted option not set'
[[ $(rksh -c 'print hello') == hello ]] || err_exit 'unable to run print'
check_restricted "$binecho" || err_exit "$binecho not resticted"
check_restricted ./echo || err_exit './echo not resticted'
check_restricted 'SHELL=ksh' || err_exit 'SHELL assignment not resticted'
check_restricted 'PATH=/bin' || err_exit 'PATH assignment not resticted'
check_restricted 'FPATH=/bin' || err_exit 'FPATH assignment not resticted'
check_restricted 'ENV=/bin' || err_exit 'ENV assignment not resticted'
check_restricted "$binecho" || err_exit "$binecho not restricted"
check_restricted ./echo || err_exit './echo not restricted'
check_restricted 'SHELL=ksh' || err_exit 'SHELL assignment not restricted'
check_restricted 'PATH=/bin' || err_exit 'PATH assignment not restricted'
check_restricted 'FPATH=/bin' || err_exit 'FPATH assignment not restricted'
check_restricted 'ENV=/bin' || err_exit 'ENV assignment not restricted'
check_restricted 'print > file' || err_exit '> file not restricted'
> empty
check_restricted 'print <> empty' || err_exit '<> file not restricted'

View file

@ -68,7 +68,7 @@ done
EOF
} | head > /dev/null
(( $? == 0)) || err_exit "SIGPIPE with wrong error code $?"
# The below is kind of bogus as the err_exit from a bg job is never counterd. But see extra check below.
# The below is kind of bogus as the err_exit from a bg job is never counted. But see extra check below.
[[ $(<out2) == $'PIPED\nPIPED' ]] || err_exit 'SIGPIPE output on standard error is not correct'
) &
cop=$!