mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
fix 24 more typos found with the help of codespell
(cherry picked from commit a92198bc5f196ec1b4a34dc042ff3a594e316ad7)
This commit is contained in:
parent
7003aba487
commit
482d1c3dd6
19 changed files with 24 additions and 24 deletions
|
|
@ -59,7 +59,7 @@
|
|||
12-06-06 A bug in which exporting left or right justified fields could loose
|
||||
the field width has been fixed.
|
||||
12-06-06 A bug on Solaris11 in which >; did not work for /dev/null was fixed.
|
||||
12-06-05 A race condition which occured when stopping a builtin command
|
||||
12-06-05 A race condition which occurred when stopping a builtin command
|
||||
invoked from a subshell has been fixed.
|
||||
12-06-05 A bug with appending elements to an empty indexed array has been
|
||||
fixed.
|
||||
|
|
|
|||
|
|
@ -1290,7 +1290,7 @@ USAGE_LICENSE
|
|||
"can be created.]"
|
||||
"[r?Do not treat \b\\\b specially when processing the input line.]"
|
||||
"[s?Save a copy of the input as an entry in the shell history file.]"
|
||||
"[S?Treat the input as if it was saved from a spreasheet in csv format.]"
|
||||
"[S?Treat the input as if it was saved from a spreadsheet in csv format.]"
|
||||
"[u]#[fd:=0?Read from file descriptor number \afd\a instead of standard input.]"
|
||||
"[t]:[timeout?Specify a timeout \atimeout\a in seconds when reading from "
|
||||
"a terminal or pipe.]"
|
||||
|
|
|
|||
|
|
@ -502,7 +502,7 @@ The first argument is the original node, the second argument is
|
|||
the new node, and the third argument is the flags that were passed
|
||||
down to \f5nv_clone()\fP.
|
||||
It must return a new instance of the \f5Namfun_t*\fP \f5fp\fP.
|
||||
If omitted, then memory whose size is determinated by the \f5size\fP
|
||||
If omitted, then memory whose size is determined by the \f5size\fP
|
||||
field of \f5fp\fP, if non-zero, or \f5fp->disc\fP, will be allocated
|
||||
and copied from \f5fp\fP.
|
||||
.PP
|
||||
|
|
|
|||
|
|
@ -675,7 +675,7 @@ typeset -a arr=( ( 1 2 3 ) ( 4 5 6 ) ( 7 8 9 ))
|
|||
typeset -n ref=arr[1]
|
||||
[[ $ref == 4 ]] || err_exit '$ref should be 4'
|
||||
[[ ${ref[@]} == '4 5 6' ]] || err_exit '${ref[@]} should be "4 5 6"'
|
||||
[[ $ref == "${arr[1]}" ]] || err_exit '$ref shuld be ${arr[1]}'
|
||||
[[ $ref == "${arr[1]}" ]] || err_exit '$ref should be ${arr[1]}'
|
||||
[[ ${ref[@]} == "${arr[1][@]}" ]] || err_exit '${ref[@]} should be ${arr[1][@]}'
|
||||
|
||||
function fun2
|
||||
|
|
|
|||
|
|
@ -59,10 +59,10 @@ rksh -c '[[ -o restricted ]]' || err_exit 'restricted option not set'
|
|||
[[ $(rksh -c 'print hello') == hello ]] || err_exit 'unable to run print'
|
||||
check_restricted /bin/echo || err_exit '/bin/echo not resticted'
|
||||
check_restricted ./echo || err_exit './echo not resticted'
|
||||
check_restricted 'SHELL=ksh' || err_exit 'SHELL asignment not resticted'
|
||||
check_restricted 'PATH=/bin' || err_exit 'PATH asignment not resticted'
|
||||
check_restricted 'FPATH=/bin' || err_exit 'FPATH asignment not resticted'
|
||||
check_restricted 'ENV=/bin' || err_exit 'ENV asignment 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 'print > file' || err_exit '> file not restricted'
|
||||
> empty
|
||||
check_restricted 'print <> empty' || err_exit '<> file not restricted'
|
||||
|
|
|
|||
|
|
@ -654,7 +654,7 @@ test1
|
|||
test2
|
||||
|
||||
|
||||
# Test visibilty of "global" vs. "static" variables. if we have a "static" variable in a
|
||||
# Test visibility of "global" vs. "static" variables. if we have a "static" variable in a
|
||||
# function and "unset" it we should see a global variable with the same
|
||||
# name, right ?
|
||||
integer hx=5
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue