mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
Fix many spelling errors and word repetitions (#188)
Many of the errors fixed in this commit are word repetitions such as 'the the' and minor spelling errors. One formatting error in the ksh man page has also been fixed.
This commit is contained in:
parent
4e47f89b06
commit
2b805f7f1c
34 changed files with 95 additions and 95 deletions
|
@ -619,7 +619,7 @@ then set -o posix
|
|||
[[ $(< aha2.txt) == ok2 ]] || err_exit '&> does not redirect stderr'
|
||||
fi
|
||||
|
||||
# In POSIX mode, file descriptors > 2 should remain open when invoking another proram
|
||||
# In POSIX mode, file descriptors > 2 should remain open when invoking another program
|
||||
if [[ -o ?posix ]]
|
||||
then (set -o posix; exec 7>ok.txt; "$SHELL" -c 'print ok >&7' 2>/dev/null)
|
||||
[[ $(<ok.txt) == ok ]] || err_exit 'File descriptors > 2 not inherited in POSIX mode'
|
||||
|
|
|
@ -106,12 +106,12 @@ FPATH=$PWD/dir2
|
|||
PATH=$FPATH:$p
|
||||
[[ ${ foobar;} == foobar2 ]] || err_exit 'foobar should output foobar2 with ${}'
|
||||
[[ ${ dir2;} == dir2 ]] || err_exit 'should be dir2'
|
||||
[[ ${ dir1;} == dir1 ]] 2> /dev/null && err_exit 'should not be be dir1'
|
||||
[[ ${ dir1;} == dir1 ]] 2> /dev/null && err_exit 'should not be dir1'
|
||||
FPATH=$PWD/dir1
|
||||
PATH=$FPATH:$p
|
||||
[[ ${ foobar;} == foobar1 ]] || err_exit 'foobar should output foobar1 with ${}'
|
||||
[[ ${ dir1;} == dir1 ]] || err_exit 'should be dir1'
|
||||
[[ ${ dir2;} == dir2 ]] 2> /dev/null && err_exit 'should not be be dir2'
|
||||
[[ ${ dir2;} == dir2 ]] 2> /dev/null && err_exit 'should not be dir2'
|
||||
FPATH=$PWD/dir2
|
||||
PATH=$FPATH:$p
|
||||
[[ ${ foobar;} == foobar2 ]] || err_exit 'foobar should output foobar2 with ${} again'
|
||||
|
|
|
@ -1189,7 +1189,7 @@ Hi, I'm still a function! On line 6, my \$LINENO is 6
|
|||
end: main script \$LINENO == 10"
|
||||
|
||||
got=$(FPATH=$tmp "$SHELL" ./lineno_autoload 2>&1)
|
||||
[[ $got == "$exp" ]] || err_exit 'Regression in \$LINENO and/or error messages.' \
|
||||
[[ $got == "$exp" ]] || err_exit 'Regression in $LINENO and/or error messages.' \
|
||||
$'Diff follows:\n'"$(diff -u <(print -r -- "$exp") <(print -r -- "$got") | sed $'s/^/\t| /')"
|
||||
|
||||
# ======
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue