diff --git a/bin/package b/bin/package index bd6da836..f195097d 100755 --- a/bin/package +++ b/bin/package @@ -104,7 +104,7 @@ case `(getopts '[-][123:xyz]' opt --xyz; echo 0$opt) 2>/dev/null` in [+DESCRIPTION?The \bpackage\b command controls source and binary packages. It is a \bsh\b(1) script coded for maximal portability. All package files are in the \b$PACKAGEROOT\b directory tree. - \b$PACKAGEROOT\b must at minumum contain a \bbin/package\b command or a + \b$PACKAGEROOT\b must at minimum contain a \bbin/package\b command or a \blib/package\b directory. Binary package files are in the \b$INSTALLROOT\b (\b$PACKAGEROOT/arch/\b\ahosttype\a) tree, where \ahosttpe\a=`\bpackage\b`. All \aactions\a but \bhost\b and \buse\b @@ -171,7 +171,7 @@ case `(getopts '[-][123:xyz]' opt --xyz; echo 0$opt) 2>/dev/null` in are variable assignments. Set admin_ping to local conventions if \"'$admin_ping$'\" fails. If a package list is not specified on the command line the \aaction\a applies to all packages; a - variable assigment \bpackage\b=\"\alist\a\" applies \aaction\a + variable assignment \bpackage\b=\"\alist\a\" applies \aaction\a to the packages in \alist\a for subsequent hosts in \afile\a. The remaining line type is a host description consisting of 6 tab separated fields. The first 3 are mandatory; the remaining @@ -207,7 +207,7 @@ case `(getopts '[-][123:xyz]' opt --xyz; echo 0$opt) 2>/dev/null` in } [+clean | clobber?Delete the \barch/\b\aHOSTTYPE\a hierarchy; this deletes all generated files and directories for \aHOSTTYPE\a. - The heirarchy can be rebuilt by \bpackage make\b.] + The hierarchy can be rebuilt by \bpackage make\b.] [+contents\b [ \apackage\a ... ]]?List description and components for \apackage\a on the standard output.] [+copyright\b [ \apackage\a ... ]]?List the general copyright @@ -323,7 +323,7 @@ case `(getopts '[-][123:xyz]' opt --xyz; echo 0$opt) 2>/dev/null` in [+update\b [ beta ]] [ binary ]] [ source ]] [\aarchitecture\a ... ]] [ \aurl\a ]] [ \apackage\a ... ]]?Download the latest release of the selected and required packages from \aurl\a (e.g., \bhttp://www.research.att.com/sw/download\b) into the directory - \b$PACKAGEROOT/lib/package/tgz\b. \bbeta\b acesses beta packages; + \b$PACKAGEROOT/lib/package/tgz\b. \bbeta\b accesses beta packages; download these at your own risk. If \aarchitecture\a is omitted then only architectures already present in the \btgz\b directory will be downloaded. If \aarchitecture\a is \b-\b then all posted architectures @@ -514,7 +514,7 @@ case `(getopts '[-][123:xyz]' opt --xyz; echo 0$opt) 2>/dev/null` in K&R, ANSI, and C++ dialects.] [+?All scripts and commands under \b$PACKAGEROOT\b use \b$PATH\b relative pathnames (via the \bast\b \bpathpath\b(3) function); there - are no imbedded absolute pathnames. This means that binaries generated + are no embedded absolute pathnames. This means that binaries generated under \b$PACKAGEROOT\b may be copied to a different root; users need only change their \b$PATH\b variable to reference the new installation root \bbin\b directory. \bpackage install\b installs binary packages in @@ -865,9 +865,9 @@ original source. The ${bB}ast${eB} ${Mproto} command converts an ANSI C subset t that is compatible with K&R, ANSI, and C++ dialects. ${bP} All scripts and commands under ${bB}\$PACKAGEROOT${eB} use ${bB}\$PATH${eB} relative pathnames; -there are no imbedded absolute pathnames. This means that binaries generated +there are no embedded absolute pathnames. This means that binaries generated under ${bB}\$PACKAGEROOT${eB} may be copied to a different root; users need only change -their ${bB}\$PATH${eB} variable to reference the new instalation root bin directory. +their ${bB}\$PATH${eB} variable to reference the new installation root bin directory. ${bF}package install${eF} installs binary packages in a new ${bB}\$INSTALLROOT${eB}. ${eO}" ;; @@ -991,7 +991,7 @@ ${bT}(5)${bD}Read all unread package archive(s):${bX} ignored. Lines starting with id=value are variable assignments. Set admin_ping to local conventions if \"$admin_ping\" fails. If a package list is not specified on the command line the - action applies to all packages; a variable assigment + action applies to all packages; a variable assignment package=list applies action to the packages in list for subsequent hosts in FILE. The remaining line type is a host description consisting of 6 tab separated fields. The first 3 @@ -1027,7 +1027,7 @@ ${bT}(5)${bD}Read all unread package archive(s):${bX} cc=compiler-version. clean | clobber Delete the arch/HOSTTYPE hierarchy; this deletes all generated - files and directories for HOSTTYPE. The heirarchy can be rebuilt + files and directories for HOSTTYPE. The hierarchy can be rebuilt by package make.] contents [ package ... ] List description and components for PACKAGE on the standard @@ -1144,7 +1144,7 @@ ${bT}(5)${bD}Read all unread package archive(s):${bX} Download the latest release of the selected and required packages from URL (e.g., http://www.research.att.com/sw/download) into the directory - \$PACKAGEROOT/lib/package/tgz. beta acesses beta packages; + \$PACKAGEROOT/lib/package/tgz. beta accesses beta packages; download these at your own risk. If ARCHITECTURE is omitted then only architectures already present in the tgz directory will be downloaded. If ARCHITECTURE is - then all posted diff --git a/docs/ksh/builtins.html b/docs/ksh/builtins.html index 5182b7bd..e52ee562 100644 --- a/docs/ksh/builtins.html +++ b/docs/ksh/builtins.html @@ -639,7 +639,7 @@
-12-07-17 iffe.sh: add C code NOTE("...") to ammend --verbose output
+12-07-17 iffe.sh: add C code NOTE("...") to amend --verbose output
12-06-26 iffe.sh: fix "npt foo" to handle function-like macro foo()
12-06-20 package.sh: use $KSH for rt in "results test"
12-06-15 Makefile: add PLUGIN_LIB to $INSTALLROOT/bin/.paths and BUILTIN_LIB => PLUGIN_LIB
@@ -343,7 +343,7 @@
05-02-20 probe.win32: handle /platformsdk mount
05-02-19 package.sh,package.mk: add write tst for tgz in tst subdir
05-02-18 package.sh: accept cc -dumpmachine with 0 or 1 -
-05-02-14 package.sh: handle mutiple architectures per host in admin.db
+05-02-14 package.sh: handle multiple architectures per host in admin.db
Makefile,package.sh: honor $INSTALLROOT/bin/.paths overrides
package.sh: normalize trailing [-_]bits in host type
iffe.sh: some ksh-compatible shells don't do *(pattern)
@@ -767,7 +767,7 @@
package.sh: $CC ^HOSTTYPE=[A-Za-z_0-9.]*$ overrides HOSTTYPE
iffe.sh: fix dat code that used previous $tmp.exe
iffe.sh: fix dat code for _DLL imports
-01-02-09 iffe.sh: add copy() for shells with the dissappearing here doc bug
+01-02-09 iffe.sh: add copy() for shells with the disappearing here doc bug
01-02-08 Makefile: guard against null $(CC.HOSTTYPE)
01-02-06 Makefile: separate out cc,ld,ldd workarounds (so they will be packaged)
01-02-02 package.sh: fix package use for $INSTALLROOT != */$HOSTTYPE
diff --git a/lib/package/ast-ksh.README b/lib/package/ast-ksh.README
index 9aeb28d0..bedd3254 100644
--- a/lib/package/ast-ksh.README
+++ b/lib/package/ast-ksh.README
@@ -120,7 +120,7 @@ All recorded changes follow.
12-07-02 A bug in which an exit status > 256 corresponding to a signal was
not returned by a function to indicate a signal exit has been fixed.
12-06-28 Fix ulimit -a to list (Kibytes) instead of (kbytes).
-12-06-27 Fix unitialized data reference for as first char in --vi mode.
+12-06-27 Fix uninitialized data reference for as first char in --vi mode.
12-06-26 The formatting of printf "%q" for multibyte locales has changed to
output using \u[xxx] format for valid wide characters.
12-06-25 The size limit for read -N and read -n has been raised to INT_MAX.
@@ -142,19 +142,19 @@ All recorded changes follow.
12-06-12 For assignments if the form x=(foo bar), foo is only check for an
alias if it is float, integer, compound, or nameref.
12-06-12 +The shell supports 64 bit i-nodes even for 32 bit binaries.
-12-06-11 A bug wth >; redirection systems for which vfork() was the same a
+12-06-11 A bug with >; redirection systems for which vfork() was the same a
fork() has been fixed.
12-06-11 A bug in path lookup that ignored buffer boundaries has been fixed.
12-06-08 typeset -a var and typeset -A var, first unset var when var is
a compound variable.
-12-06-08 A bug in which running shcomp on a program containg namespace
+12-06-08 A bug in which running shcomp on a program containing namespace
could core dump has been fixed.
12-06-06 A bug in which unset of an associative array of compound variables
did not completely unset the variable has been fixed.
-12-06-06 A bug in which exporting left or right justfied fields could loose
+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.
@@ -164,14 +164,14 @@ All recorded changes follow.
directory if they are killed or stopped.
12-06-04 A bug in handling \\ in read has been fixed.
12-05-31 Use getrlimit64/setrlimit64 on systems that support it.
-12-05-31 Fix 64 bit big-endian arithmentic bug that mishandled nan and inf.
+12-05-31 Fix 64 bit big-endian arithmetic bug that mishandled nan and inf.
12-05-31 Handle ECONNRESET like EPIPE.
12-05-31 Change .paths parse to use only the last BUILTIN_LIB from the top
and treat BUILTIN_LIB value as a ':' separated list of lib names.
12-05-29 Fix BUILTIN_LIB binding bug that ignored subsequent lookups.
12-05-29 shtests: --nocompile omits the compile test and --compile does only
the compile test.
-12-05-25 A command subsitution containing a here-document that itself contains
+12-05-25 A command substitution containing a here-document that itself contains
a here-document no longer hangs.
12-05-24 When the redirection operatory >; is directed to a symlink, it now
overwrites the file named by the link rather than the link.
@@ -250,7 +250,7 @@ All recorded changes follow.
12-04-09 A bug in which the leading 0 was stripped from $x, when $x contained
a heximadecimal constant inside an arithmetic expression inside
a for or while loop.
-12-04-06 Modified namespaces to hand variabes FPATH, PATH, and OPTIND that
+12-04-06 Modified namespaces to hand variables FPATH, PATH, and OPTIND that
are defined in name spaces appropriately. This also fixed OPTIND
and OPTARG processing for functions.
12-04-04 A bug in which cd .. fails when the current directory has been
@@ -288,7 +288,7 @@ All recorded changes follow.
cursor on the b rather than the a has been fixed.
12-03-20 A bug which caused a core dump when defining a type with a field
as ' integer -a data=([0]=0)' has been fixed.
-12-03-19 Using typeset -a array when array is an associative arry not
+12-03-19 Using typeset -a array when array is an associative array not
generated an error message.
12-03-19 typeset +a, typeset +A, and typeset +C not displays the variables
with the attributes a, A, and C respectively instead of an error.
@@ -303,7 +303,7 @@ All recorded changes follow.
12-03-16 A bug in which an unset discipline from a variable defined in a
subshell is not invoked in the subshell has been fixed.
12-03-08 The assignment typeset -a (x=1 y=2) now creates an index array
- of two elements rathern than an array of one element which is
+ of two elements rather than an array of one element which is
a compound variable.
12-03-02 +The vi and emacs edit modes now list all the entries in a directory
when entering a for completion after a /.
@@ -353,7 +353,7 @@ All recorded changes follow.
characters correctly has been fixed.
12-01-20 A bug that could cause the shell to hang waiting for an incorrect
job pid has been fixed.
-12-01-19 A memory leak which occured for a nested command subtiution has been
+12-01-19 A memory leak which occurred for a nested command subtiution has been
fixed.
12-01-17 A bug in which typeset -u PS1 could enable the uppercase attribute
for some other variables, for exampe, HISTFILE has been fixed.
@@ -377,7 +377,7 @@ All recorded changes follow.
with a backshash.
11-12-13 When tab is entered for completion after a ' or ", the ' and "
characters are no longer deleted.
-11-12-07 A bug in which a program in the current direcotry with a . in the
+11-12-07 A bug in which a program in the current directory with a . in the
name could fail to execute when both PATH and FPATH end with :. has
been fixed.
11-12-07 I fixed a bug in which a variable expansion in a large here-document
@@ -534,7 +534,7 @@ All recorded changes follow.
11-03-04 +The tilde expansion on windows has been modified to handle user
names of the form domain/user so that ~domain/user now expands
to the home directory of that domain user.
-11-03-03 A bug in which the width of the prompt was calculated incorectly
+11-03-03 A bug in which the width of the prompt was calculated incorrectly
which cause the wrong line length for edit commands has been fixed.
11-03-02 A bug in which a global variables set from within a function inside
a subshell can leave side effects in parent shell has been fixed.
@@ -549,7 +549,7 @@ All recorded changes follow.
references defined and the script creates name references of the
same name.
11-02-21 The shell now fails with a syntax error when a here-document in a
- command substition is not completed before the closing ), for
+ command substitution is not completed before the closing ), for
example, $( foobar <&- doesn't work has been fixed.
-11-02-07 A bug on some systems for which a command subtitution could hang
+11-02-07 A bug on some systems for which a command substitution could hang
has been fixed.
11-01-28 A bug in file name completion for files containing both multibyte
characters shell special characters has been fixed.
@@ -577,7 +577,7 @@ All recorded changes follow.
variables when the same array was referenced on the left and the
right hand side with different indices has been fixed.
11-01-10 A bug in which the output of time was lost when { time...;} 2>&1
- occurred inside command substition has been fixed.
+ occurred inside command substitution has been fixed.
11-01-07 [[ -v sh.match[i] ]] was returning false when sh.match[i] was set.
11-01-05 Added and modified warning messages with sh -n.
11-01-02 Fixed bugs with typeset -l/-u/-M and arrays.
@@ -652,7 +652,7 @@ All recorded changes follow.
when the type is initialized has been fixed.
10-11-12 The sequences \< and \> are now preserved after patterns containing
~(E) in ${var/pattern/string} expansions.
-10-11-11 A bug in typeset -m when the variables were compound arrary instances
+10-11-11 A bug in typeset -m when the variables were compound array instances
has been fixed.
10-11-10 A bug in output of a compound variable with types containing types
has been fixed.
@@ -813,7 +813,7 @@ All recorded changes follow.
10-07-07 A bug in the output for compound variables containing
multi-dimensional arrays has been fixed.
10-07-06 ksh now recovers from changes made by bash to the history file without
- loosing history commands.
+ losing history commands.
10-06-25 A bug in which a large here document containing command substitutions
of a dynamically loaded function that contained a here document
could get truncated has been fixed.
@@ -880,7 +880,7 @@ All recorded changes follow.
to make this the current line (n defaults to 1 of omitted) or
n to execute.
10-05-20 A bug which caused an exception when multiple levels of composite
- functions in arithemtic expressions has been fixed.
+ functions in arithmetic expressions has been fixed.
10-05-19 <<< with an empty string no longer gives an error.
10-05-19 A bug in arithmetic evaluation when a name reference to an array
instance was used has been fixed.
@@ -914,7 +914,7 @@ All recorded changes follow.
a non-zero element was specified and this has been fixed.
10-04-26 A bug in which types defined in a subshell were not undefined when
the subshell completed has been fixed.
-10-04-23 For file completion in commmand line editing, file names starting
+10-04-23 For file completion in command line editing, file names starting
with # are now escaped so that they are not treated as comments.
10-04-23 A bug in which ${t.var:=value}, where t is an instance of a type
variable, could assign value to the type variable rather than to
@@ -1531,7 +1531,7 @@ All recorded changes follow.
08-03-27 A bug in which the terminal group was not given back to the parent
shell when the last part of a pipeline was handled by the parent shell
and the other parts of the pipeline complete has been fixed.
- The symptom was that the pipeline became uninterruptable.
+ The symptom was that the pipeline became uninterruptible.
08-03-25 A bug in restricted mode introduced in ksh93s that caused scripts
that did not use #! to executed in restricted mode has been fixed.
08-03-25 A bug in which the pipefail option did not work for a pipeline
@@ -1628,7 +1628,7 @@ All recorded changes follow.
from a subshell has been fixed.
08-01-17 A bug in which a command substitution consisting only of
assignments was treated as a noop has been fixed.
-08-01-17 A bug in which discipline functions invoked from withing a
+08-01-17 A bug in which discipline functions invoked from within a
compound assignment could fail has been fixed.
08-01-16 Incomplete arithmetic assignments, for example ((x += )), now
generate an error message.
@@ -1888,7 +1888,7 @@ All recorded changes follow.
06-04-25 A bug in the vi edit mode which could cause the shell to core dump
when switching from emacs mode.
06-04-17 A bug in which using LANG or LC_ in assignment lists with builtins
- did not restore the localed correctly has been fixed.
+ did not restore the locale correctly has been fixed.
06-04-04 A bug in which discipline functions could not be added to variables
whose names started with .sh has been fixed.
06-03-28 +The -s option to typeset was added to modify -i to indicate short
@@ -2439,7 +2439,7 @@ All recorded changes follow.
viraw mode will always be on.
01-10-31 --- Release ksh93m ---
-01-10-31 A for loop optimizer bug for subshells contained withing for
+01-10-31 A for loop optimizer bug for subshells contained within for
loops has been fixed.
01-10-16 typeset without arguments no longer outputs variable names
that do not have any attributes that are set.
@@ -3476,7 +3476,7 @@ All recorded changes follow.
09-01-31 features/sys: drop header sys/localedef.h
09-01-28 include/fs3d.h,misc/fs3d.c: mount() => fs3d_mount() for diff std prototypes
09-01-14 misc/fts_open.c: delay top list reorder until first fts_read()
-09-01-14 include/ls.h: LS_W_INUMBER => 9 to accomodate large st_ino
+09-01-14 include/ls.h: LS_W_INUMBER => 9 to accommodate large st_ino
09-01-14 misc/optget.c: expand STYLE_usage input text
09-01-09 features/uwin,stdio/_stdfun.c: iffe for _p__iob and __p__iob
09-01-09 misc/magic.tab: add ISO filesystem image entries
@@ -3680,7 +3680,7 @@ All recorded changes follow.
06-09-12 string/strelapsed.c: fix multi-char qualifier parse
06-09-12 string/strtoi.h: drop [cClLqQwW] multipliers
06-09-11 misc/optget.c: add numeric arg validity check
-06-09-07 misc/optget.c,tm/tmfix.c: fix uninitialzed var refs
+06-09-07 misc/optget.c,tm/tmfix.c: fix uninitialized var refs
06-09-05 path/pathprobe.c: add version header verification
06-08-01 Makefile: handle iffe vs FEATURE/common vs ast_common.h
06-08-31 Makefile: add ast_map.h to the bootstrap list
@@ -3748,7 +3748,7 @@ All recorded changes follow.
05-05-31 string/fmtbuf.c: unlock (spin) before each return -- doh
05-05-30 sfio/sfpkrd.c: work around macos 10.4 recv(MSG_PEEK) bug
05-05-27 regex: add REX_NEST (?%[S.][T.][OT])
- magic.tab: ammend bsd db magic
+ magic.tab: amend bsd db magic
05-05-23 regex: REX_NEST (?%[D.][E.][L.][Q.][oc]...)
05-05-21 regex: state.fold[] is now locale specific -- doh
05-05-19 regex: add REX_NEST (?%\\()<>[]""...) %(...) nested match
@@ -4069,13 +4069,13 @@ All recorded changes follow.
03-01-24 path/pathexists.c: fix abs dir bug and deal with case ignorance
03-01-23 path/pathpath.c: honor PATH_ABSOLUTE for the easy case too
03-01-22 path/pathprobe.c: fix search to find both the probe script and command
-03-01-17 misc/magic.tab: application/zip => appplication/(gzip|pzip|zip)
+03-01-17 misc/magic.tab: application/zip => application/(gzip|pzip|zip)
03-01-14 misc/optget.c: change href="" to href="."
03-01-10 include/ast_std.h: strtold() import hackery for static __CYGWIN__
03-01-03 include/regex.h,regex/regcomp.h: add REG_SHELL_GROUP
include/ast.h,string/strmatch.c: add STR_GROUP for REG_SHELL_GROUP
02-12-15 include/error.h: errorcontext => Error_context_s (compatible til 2004)
-02-12-06 misc/sigdata.c: add NoF(sigdadata) -- why nmake was uninterruptable!
+02-12-06 misc/sigdata.c: add NoF(sigdadata) -- why nmake was uninterruptible!
02-12-03 comp/omitted.c,features/omitted: handle cygwin alarm() return botch
02-11-27 misc/swapop.c: op=3,size=4 => op=7
string/strlcat.c,strlcpy.c: fix uwin decl clash
@@ -4308,7 +4308,7 @@ All recorded changes follow.
01-10-05 misc/glob.c: fix `\(x/*' GLOB_NOMATCH bug that returned `(x'
misc/optget.c: fix localization lookup that didn't drop doubled : ? ]
01-10-04 comp/setlocale.c: handle sizeof(wchar_t)!=4 in debug locale
- comp/conf.sh: handle sytems where _SC_* is both an enum and a macro
+ comp/conf.sh: handle systems where _SC_* is both an enum and a macro
01-09-25 astconf: add LIBPREFIX
01-09-20 features/common: add __DYNAMIC__() for dll externs
01-09-19 cdt: kpv update
@@ -4497,7 +4497,7 @@ All recorded changes follow.
tmlex: check tm_info.format and tm_data.format
tmfix: fix for tm_wday special case (via nl_langinfo on LC_TIME fields)
strftime: fix for nl_langinfo special case
- ast_std.h: provide LC_* defauls if not defined
+ ast_std.h: provide LC_* defaults if not defined
sfnew: check ${_AST_sfio_bufsize} -- don't tell kpv
catopen,nl_types.h: add intercept to mc* routines
magic.tab: add ast message catalog
@@ -4556,7 +4556,7 @@ All recorded changes follow.
99-10-22 tmfmt: %C=2-digit-century, %k=date(1), %y=2-digit-year-in-century
99-10-18 fastfind: expanded default db lookup
99-08-11 magic: fix off by one registry malloc
- features/fs: add __RENAME checks for stat familiy (netbsd)
+ features/fs: add __RENAME checks for stat family (netbsd)
features/fs: major()/minor() fixes for s5
features/libpath.sh: netbsd fix -- ld.so not in std places
misc/fastfind: fix codes path generation bug
@@ -4671,7 +4671,7 @@ All recorded changes follow.
proc: add PROC_ZOMBIE
98-02-06 strmatch() char class range bug fix
regex char class range bug fix
-98-01-23 _WIN32: changed the #if logic again to accomodate _GNUC_
+98-01-23 _WIN32: changed the #if logic again to accommodate _GNUC_
mnt: grab the mount options too
ast_std.h: hide getopt,getsubopt from stdlib.h
features/limits.c: add gnu guard macros to avoid limits.h recursion
@@ -5034,9 +5034,9 @@ All recorded changes follow.
11-01-27 date: add { -R, --rfc-2822, -T, --rfc-3339=type }
11-01-03 chgrp.c: --symlink => --physical
10-12-10 rm.c: fix not-writable logic
-10-12-01 tee.c: add iterrupt logic for slow open(1) -- needs to be generalized
+10-12-01 tee.c: add interrupt logic for slow open(1) -- needs to be generalized
10-11-30 chgrp.c: add -N,--numeric to bypass name lookup
-10-10-20 cp: add --timestamps (preserv timestamps and permissions)
+10-10-20 cp: add --timestamps (preserve timestamps and permissions)
10-10-20 ln: fix 'cannot replace existing file' logic
10-10-10 cp,mv: add --remove-destination
10-08-11 cp.c,expr.c: use conformance("standard",0) test
@@ -5108,7 +5108,7 @@ All recorded changes follow.
08-04-01 cut.c: add write error check
08-04-01 paste.c: fix --noserial stream vector access bug
08-04-01 pids.c: add ls/ps style --format=format
-08-04-01 stty.c: fix off2 unitialized reference
+08-04-01 stty.c: fix off2 uninitialized reference
08-03-28 chgrp.c: add --before=file
08-03-14 pids.c: add
08-03-11 chgrp.c: fix -m to use uid:gid as lookup key
@@ -5152,12 +5152,12 @@ All recorded changes follow.
06-11-15 cp.c: fix 06-10-31 ln -s enoent bug
06-11-11 getconf.c: let astconf() handle "undefined" vs. ""
06-11-11 getconf.c: fix deferred getconf path search
-06-11-11 fmt.c: handle two char { \t \n } in --usage ouput
+06-11-11 fmt.c: handle two char { \t \n } in --usage output
06-10-31 global edit to eliminate most non-const static data0
06-10-31 use for all b_*() implementations; drop
06-10-31 cmd.h: add CMD_ prefix to { BUILTIN DYNAMIC STANDALONE }
06-10-31 join.c: tone down /tmp usage vi SFSK_DISCARD
-06-10-31 cp.c,rm.c: update to to accomodate non-static data
+06-10-31 cp.c,rm.c: update to to accommodate non-static data
06-10-29 date.c: "...%H%..." => "...%H" "%..." to avoid SCCS conflict
06-10-26 fds.c: handle sctp
06-10-18 tail.c: fix invalid suffix infinite loop
@@ -5285,7 +5285,7 @@ All recorded changes follow.
cat: fix -n (was ignored, wow)
00-01-27 getconf: add "-a" and "-v spec" for sol7.* compatibility
99-09-09 join: fix -j1 vs. -j 1, add --ignorecase
-99-06-22 paste: defualt delim in writable string
+99-06-22 paste: default delim in writable string
99-06-16 cat: fix --dos-ouput typo
99-06-11 cp: tighten chown() diagnostics
99-06-08 expr: nothing for NULL string bug fix
diff --git a/lib/package/ast-ksh.html b/lib/package/ast-ksh.html
index e9954a1e..90f347b3 100644
--- a/lib/package/ast-ksh.html
+++ b/lib/package/ast-ksh.html
@@ -226,7 +226,7 @@
12-07-02 A bug in which an exit status > 256 corresponding to a signal was
not returned by a function to indicate a signal exit has been fixed.
12-06-28 Fix ulimit -a to list (Kibytes) instead of (kbytes).
-12-06-27 Fix unitialized data reference for <CR> as first char in --vi mode.
+12-06-27 Fix uninitialized data reference for <CR> as first char in --vi mode.
12-06-26 The formatting of printf "%q" for multibyte locales has changed to
output using \u[xxx] format for valid wide characters.
12-06-25 The size limit for read -N and read -n has been raised to INT_MAX.
@@ -248,19 +248,19 @@
12-06-12 For assignments if the form x=(foo bar), foo is only check for an
alias if it is float, integer, compound, or nameref.
12-06-12 +The shell supports 64 bit i-nodes even for 32 bit binaries.
-12-06-11 A bug wth >; redirection systems for which vfork() was the same a
+12-06-11 A bug with >; redirection systems for which vfork() was the same a
fork() has been fixed.
12-06-11 A bug in path lookup that ignored buffer boundaries has been fixed.
12-06-08 typeset -a var and typeset -A var, first unset var when var is
a compound variable.
-12-06-08 A bug in which running shcomp on a program containg namespace
+12-06-08 A bug in which running shcomp on a program containing namespace
could core dump has been fixed.
12-06-06 A bug in which unset of an associative array of compound variables
did not completely unset the variable has been fixed.
-12-06-06 A bug in which exporting left or right justfied fields could loose
+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.
@@ -270,14 +270,14 @@
directory if they are killed or stopped.
12-06-04 A bug in handling \ in read has been fixed.
12-05-31 Use getrlimit64/setrlimit64 on systems that support it.
-12-05-31 Fix 64 bit big-endian arithmentic bug that mishandled nan and inf.
+12-05-31 Fix 64 bit big-endian arithmetic bug that mishandled nan and inf.
12-05-31 Handle ECONNRESET like EPIPE.
12-05-31 Change .paths parse to use only the last BUILTIN_LIB from the top
and treat BUILTIN_LIB value as a ':' separated list of lib names.
12-05-29 Fix BUILTIN_LIB binding bug that ignored subsequent lookups.
12-05-29 shtests: --nocompile omits the compile test and --compile does only
the compile test.
-12-05-25 A command subsitution containing a here-document that itself contains
+12-05-25 A command substitution containing a here-document that itself contains
a here-document no longer hangs.
12-05-24 When the redirection operatory >; is directed to a symlink, it now
overwrites the file named by the link rather than the link.
@@ -356,7 +356,7 @@
12-04-09 A bug in which the leading 0 was stripped from $x, when $x contained
a heximadecimal constant inside an arithmetic expression inside
a for or while loop.
-12-04-06 Modified namespaces to hand variabes FPATH, PATH, and OPTIND that
+12-04-06 Modified namespaces to hand variables FPATH, PATH, and OPTIND that
are defined in name spaces appropriately. This also fixed OPTIND
and OPTARG processing for functions.
12-04-04 A bug in which cd .. fails when the current directory has been
@@ -394,7 +394,7 @@
cursor on the b rather than the a has been fixed.
12-03-20 A bug which caused a core dump when defining a type with a field
as ' integer -a data=([0]=0)' has been fixed.
-12-03-19 Using typeset -a array when array is an associative arry not
+12-03-19 Using typeset -a array when array is an associative array not
generated an error message.
12-03-19 typeset +a, typeset +A, and typeset +C not displays the variables
with the attributes a, A, and C respectively instead of an error.
@@ -409,7 +409,7 @@
12-03-16 A bug in which an unset discipline from a variable defined in a
subshell is not invoked in the subshell has been fixed.
12-03-08 The assignment typeset -a (x=1 y=2) now creates an index array
- of two elements rathern than an array of one element which is
+ of two elements rather than an array of one element which is
a compound variable.
12-03-02 +The vi and emacs edit modes now list all the entries in a directory
when entering a <tab> for completion after a /.
@@ -459,7 +459,7 @@
characters correctly has been fixed.
12-01-20 A bug that could cause the shell to hang waiting for an incorrect
job pid has been fixed.
-12-01-19 A memory leak which occured for a nested command subtiution has been
+12-01-19 A memory leak which occurred for a nested command subtiution has been
fixed.
12-01-17 A bug in which typeset -u PS1 could enable the uppercase attribute
for some other variables, for exampe, HISTFILE has been fixed.
@@ -483,7 +483,7 @@
with a backshash.
11-12-13 When tab is entered for completion after a ' or ", the ' and "
characters are no longer deleted.
-11-12-07 A bug in which a program in the current direcotry with a . in the
+11-12-07 A bug in which a program in the current directory with a . in the
name could fail to execute when both PATH and FPATH end with :. has
been fixed.
11-12-07 I fixed a bug in which a variable expansion in a large here-document
@@ -640,7 +640,7 @@
11-03-04 +The tilde expansion on windows has been modified to handle user
names of the form domain/user so that ~domain/user now expands
to the home directory of that domain user.
-11-03-03 A bug in which the width of the prompt was calculated incorectly
+11-03-03 A bug in which the width of the prompt was calculated incorrectly
which cause the wrong line length for edit commands has been fixed.
11-03-02 A bug in which a global variables set from within a function inside
a subshell can leave side effects in parent shell has been fixed.
@@ -655,7 +655,7 @@
references defined and the script creates name references of the
same name.
11-02-21 The shell now fails with a syntax error when a here-document in a
- command substition is not completed before the closing ), for
+ command substitution is not completed before the closing ), for
example, $( foobar <<! )
here_doc
!.
@@ -669,7 +669,7 @@
11-02-08 --- Release ksh93u ---
11-02-08 A bug in which opening standard output after it has been closed with
exec 1>&- doesn't work has been fixed.
-11-02-07 A bug on some systems for which a command subtitution could hang
+11-02-07 A bug on some systems for which a command substitution could hang
has been fixed.
11-01-28 A bug in file name completion for files containing both multibyte
characters shell special characters has been fixed.
@@ -683,7 +683,7 @@
variables when the same array was referenced on the left and the
right hand side with different indices has been fixed.
11-01-10 A bug in which the output of time was lost when { time...;} 2>&1
- occurred inside command substition has been fixed.
+ occurred inside command substitution has been fixed.
11-01-07 [[ -v sh.match[i] ]] was returning false when sh.match[i] was set.
11-01-05 Added and modified warning messages with sh -n.
11-01-02 Fixed bugs with typeset -l/-u/-M and arrays.
@@ -758,7 +758,7 @@
when the type is initialized has been fixed.
10-11-12 The sequences \< and \> are now preserved after patterns containing
~(E) in ${var/pattern/string} expansions.
-10-11-11 A bug in typeset -m when the variables were compound arrary instances
+10-11-11 A bug in typeset -m when the variables were compound array instances
has been fixed.
10-11-10 A bug in output of a compound variable with types containing types
has been fixed.
@@ -919,7 +919,7 @@
10-07-07 A bug in the output for compound variables containing
multi-dimensional arrays has been fixed.
10-07-06 ksh now recovers from changes made by bash to the history file without
- loosing history commands.
+ losing history commands.
10-06-25 A bug in which a large here document containing command substitutions
of a dynamically loaded function that contained a here document
could get truncated has been fixed.
@@ -986,7 +986,7 @@
to make this the current line (n defaults to 1 of omitted) or
<ESC>n<cr> to execute.
10-05-20 A bug which caused an exception when multiple levels of composite
- functions in arithemtic expressions has been fixed.
+ functions in arithmetic expressions has been fixed.
10-05-19 <<< with an empty string no longer gives an error.
10-05-19 A bug in arithmetic evaluation when a name reference to an array
instance was used has been fixed.
@@ -1020,7 +1020,7 @@
a non-zero element was specified and this has been fixed.
10-04-26 A bug in which types defined in a subshell were not undefined when
the subshell completed has been fixed.
-10-04-23 For file completion in commmand line editing, file names starting
+10-04-23 For file completion in command line editing, file names starting
with # are now escaped so that they are not treated as comments.
10-04-23 A bug in which ${t.var:=value}, where t is an instance of a type
variable, could assign value to the type variable rather than to
@@ -1637,7 +1637,7 @@
08-03-27 A bug in which the terminal group was not given back to the parent
shell when the last part of a pipeline was handled by the parent shell
and the other parts of the pipeline complete has been fixed.
- The symptom was that the pipeline became uninterruptable.
+ The symptom was that the pipeline became uninterruptible.
08-03-25 A bug in restricted mode introduced in ksh93s that caused scripts
that did not use #! to executed in restricted mode has been fixed.
08-03-25 A bug in which the pipefail option did not work for a pipeline
@@ -1734,7 +1734,7 @@
from a subshell has been fixed.
08-01-17 A bug in which a command substitution consisting only of
assignments was treated as a noop has been fixed.
-08-01-17 A bug in which discipline functions invoked from withing a
+08-01-17 A bug in which discipline functions invoked from within a
compound assignment could fail has been fixed.
08-01-16 Incomplete arithmetic assignments, for example ((x += )), now
generate an error message.
@@ -1994,7 +1994,7 @@
06-04-25 A bug in the vi edit mode which could cause the shell to core dump
when switching from emacs mode.
06-04-17 A bug in which using LANG or LC_ in assignment lists with builtins
- did not restore the localed correctly has been fixed.
+ did not restore the locale correctly has been fixed.
06-04-04 A bug in which discipline functions could not be added to variables
whose names started with .sh has been fixed.
06-03-28 +The -s option to typeset was added to modify -i to indicate short
@@ -2545,7 +2545,7 @@
viraw mode will always be on.
01-10-31 --- Release ksh93m ---
-01-10-31 A for loop optimizer bug for subshells contained withing for
+01-10-31 A for loop optimizer bug for subshells contained within for
loops has been fixed.
01-10-16 typeset without arguments no longer outputs variable names
that do not have any attributes that are set.
@@ -3585,7 +3585,7 @@
09-01-31 features/sys: drop header sys/localedef.h
09-01-28 include/fs3d.h,misc/fs3d.c: mount() => fs3d_mount() for diff std prototypes
09-01-14 misc/fts_open.c: delay top list reorder until first fts_read()
-09-01-14 include/ls.h: LS_W_INUMBER => 9 to accomodate large st_ino
+09-01-14 include/ls.h: LS_W_INUMBER => 9 to accommodate large st_ino
09-01-14 misc/optget.c: expand STYLE_usage input text
09-01-09 features/uwin,stdio/_stdfun.c: iffe for _p__iob and __p__iob
09-01-09 misc/magic.tab: add ISO filesystem image entries
@@ -3789,7 +3789,7 @@
06-09-12 string/strelapsed.c: fix multi-char qualifier parse
06-09-12 string/strtoi.h: drop [cClLqQwW] multipliers
06-09-11 misc/optget.c: add numeric arg validity check
-06-09-07 misc/optget.c,tm/tmfix.c: fix uninitialzed var refs
+06-09-07 misc/optget.c,tm/tmfix.c: fix uninitialized var refs
06-09-05 path/pathprobe.c: add version header verification
06-08-01 Makefile: handle iffe vs FEATURE/common vs ast_common.h
06-08-31 Makefile: add ast_map.h to the bootstrap list
@@ -3857,7 +3857,7 @@
05-05-31 string/fmtbuf.c: unlock (spin) before each return -- doh
05-05-30 sfio/sfpkrd.c: work around macos 10.4 recv(MSG_PEEK) bug
05-05-27 regex: add REX_NEST (?%[S.][T.][OT])
- magic.tab: ammend bsd db magic
+ magic.tab: amend bsd db magic
05-05-23 regex: REX_NEST (?%[D.][E.][L.][Q.][oc]...)
05-05-21 regex: state.fold[] is now locale specific -- doh
05-05-19 regex: add REX_NEST (?%\\()<>[]""...) %(...) nested match
@@ -4178,13 +4178,13 @@
03-01-24 path/pathexists.c: fix abs dir bug and deal with case ignorance
03-01-23 path/pathpath.c: honor PATH_ABSOLUTE for the easy case too
03-01-22 path/pathprobe.c: fix search to find both the probe script and command
-03-01-17 misc/magic.tab: application/zip => appplication/(gzip|pzip|zip)
+03-01-17 misc/magic.tab: application/zip => application/(gzip|pzip|zip)
03-01-14 misc/optget.c: change href="" to href="."
03-01-10 include/ast_std.h: strtold() import hackery for static __CYGWIN__
03-01-03 include/regex.h,regex/regcomp.h: add REG_SHELL_GROUP
include/ast.h,string/strmatch.c: add STR_GROUP for REG_SHELL_GROUP
02-12-15 include/error.h: errorcontext => Error_context_s (compatible til 2004)
-02-12-06 misc/sigdata.c: add NoF(sigdadata) -- why nmake was uninterruptable!
+02-12-06 misc/sigdata.c: add NoF(sigdadata) -- why nmake was uninterruptible!
02-12-03 comp/omitted.c,features/omitted: handle cygwin alarm() return botch
02-11-27 misc/swapop.c: op=3,size=4 => op=7
string/strlcat.c,strlcpy.c: fix uwin decl clash
@@ -4417,7 +4417,7 @@
01-10-05 misc/glob.c: fix `\(x/*' GLOB_NOMATCH bug that returned `(x'
misc/optget.c: fix localization lookup that didn't drop doubled : ? ]
01-10-04 comp/setlocale.c: handle sizeof(wchar_t)!=4 in debug locale
- comp/conf.sh: handle sytems where _SC_* is both an enum and a macro
+ comp/conf.sh: handle systems where _SC_* is both an enum and a macro
01-09-25 astconf: add LIBPREFIX
01-09-20 features/common: add __DYNAMIC__() for dll externs
01-09-19 cdt: kpv update
@@ -4606,7 +4606,7 @@
tmlex: check tm_info.format and tm_data.format
tmfix: fix for tm_wday special case (via nl_langinfo on LC_TIME fields)
strftime: fix for nl_langinfo special case
- ast_std.h: provide LC_* defauls if not defined
+ ast_std.h: provide LC_* defaults if not defined
sfnew: check ${_AST_sfio_bufsize} -- don't tell kpv
catopen,nl_types.h: add intercept to mc* routines
magic.tab: add ast message catalog
@@ -4665,7 +4665,7 @@
99-10-22 tmfmt: %C=2-digit-century, %k=date(1), %y=2-digit-year-in-century
99-10-18 fastfind: expanded default db lookup
99-08-11 magic: fix off by one registry malloc
- features/fs: add __RENAME checks for stat familiy (netbsd)
+ features/fs: add __RENAME checks for stat family (netbsd)
features/fs: major()/minor() fixes for s5
features/libpath.sh: netbsd fix -- ld.so not in std places
misc/fastfind: fix codes path generation bug
@@ -4780,7 +4780,7 @@
proc: add PROC_ZOMBIE
98-02-06 strmatch() char class range bug fix
regex char class range bug fix
-98-01-23 _WIN32: changed the #if logic again to accomodate _GNUC_
+98-01-23 _WIN32: changed the #if logic again to accommodate _GNUC_
mnt: grab the mount options too
ast_std.h: hide getopt,getsubopt from stdlib.h
features/limits.c: add gnu guard macros to avoid limits.h recursion
@@ -5146,9 +5146,9 @@
11-01-27 date: add { -R, --rfc-2822, -T, --rfc-3339=type }
11-01-03 chgrp.c: --symlink => --physical
10-12-10 rm.c: fix not-writable logic
-10-12-01 tee.c: add iterrupt logic for slow open(1) -- needs to be generalized
+10-12-01 tee.c: add interrupt logic for slow open(1) -- needs to be generalized
10-11-30 chgrp.c: add -N,--numeric to bypass name lookup
-10-10-20 cp: add --timestamps (preserv timestamps and permissions)
+10-10-20 cp: add --timestamps (preserve timestamps and permissions)
10-10-20 ln: fix 'cannot replace existing file' logic
10-10-10 cp,mv: add --remove-destination
10-08-11 cp.c,expr.c: use conformance("standard",0) test
@@ -5220,7 +5220,7 @@
08-04-01 cut.c: add write error check
08-04-01 paste.c: fix --noserial stream vector access bug
08-04-01 pids.c: add ls/ps style --format=format
-08-04-01 stty.c: fix off2 unitialized reference
+08-04-01 stty.c: fix off2 uninitialized reference
08-03-28 chgrp.c: add --before=file
08-03-14 pids.c: add
08-03-11 chgrp.c: fix -m to use uid:gid as lookup key
@@ -5264,12 +5264,12 @@
06-11-15 cp.c: fix 06-10-31 ln -s enoent bug
06-11-11 getconf.c: let astconf() handle "undefined" vs. ""
06-11-11 getconf.c: fix deferred getconf path search
-06-11-11 fmt.c: handle two char { \t } in --usage ouput
+06-11-11 fmt.c: handle two char { \t } in --usage output
06-10-31 global edit to eliminate most non-const static data0
06-10-31 use <cmd.h> for all b_*() implementations; drop <cmdlib.h>
06-10-31 cmd.h: add CMD_ prefix to { BUILTIN DYNAMIC STANDALONE }
06-10-31 join.c: tone down /tmp usage vi SFSK_DISCARD
-06-10-31 cp.c,rm.c: update to <fts.h> to accomodate non-static data
+06-10-31 cp.c,rm.c: update to <fts.h> to accommodate non-static data
06-10-29 date.c: "...%H%..." => "...%H" "%..." to avoid SCCS conflict
06-10-26 fds.c: handle sctp
06-10-18 tail.c: fix invalid suffix infinite loop
@@ -5397,7 +5397,7 @@
cat: fix -n (was ignored, wow)
00-01-27 getconf: add "-a" and "-v spec" for sol7.* compatibility
99-09-09 join: fix -j1 vs. -j 1, add --ignorecase
-99-06-22 paste: defualt delim in writable string
+99-06-22 paste: default delim in writable string
99-06-16 cat: fix --dos-ouput typo
99-06-11 cp: tighten chown() diagnostics
99-06-08 expr: nothing for NULL string bug fix
diff --git a/src/cmd/INIT/RELEASE b/src/cmd/INIT/RELEASE
index 894fe371..28f72c94 100644
--- a/src/cmd/INIT/RELEASE
+++ b/src/cmd/INIT/RELEASE
@@ -1,4 +1,4 @@
-12-07-17 iffe.sh: add C code NOTE("...") to ammend --verbose output
+12-07-17 iffe.sh: add C code NOTE("...") to amend --verbose output
12-06-26 iffe.sh: fix "npt foo" to handle function-like macro foo()
12-06-20 package.sh: use $KSH for rt in "results test"
12-06-15 Makefile: add PLUGIN_LIB to $INSTALLROOT/bin/.paths and BUILTIN_LIB => PLUGIN_LIB
@@ -283,7 +283,7 @@
05-02-20 probe.win32: handle /platformsdk mount
05-02-19 package.sh,package.mk: add write tst for tgz in tst subdir
05-02-18 package.sh: accept cc -dumpmachine with 0 or 1 -
-05-02-14 package.sh: handle mutiple architectures per host in admin.db
+05-02-14 package.sh: handle multiple architectures per host in admin.db
Makefile,package.sh: honor $INSTALLROOT/bin/.paths overrides
package.sh: normalize trailing [-_]bits in host type
iffe.sh: some ksh-compatible shells don't do *(pattern)
@@ -707,7 +707,7 @@
package.sh: $CC ^HOSTTYPE=[A-Za-z_0-9.]*$ overrides HOSTTYPE
iffe.sh: fix dat code that used previous $tmp.exe
iffe.sh: fix dat code for _DLL imports
-01-02-09 iffe.sh: add copy() for shells with the dissappearing here doc bug
+01-02-09 iffe.sh: add copy() for shells with the disappearing here doc bug
01-02-08 Makefile: guard against null $(CC.HOSTTYPE)
01-02-06 Makefile: separate out cc,ld,ldd workarounds (so they will be packaged)
01-02-02 package.sh: fix package use for $INSTALLROOT != */$HOSTTYPE
diff --git a/src/cmd/INIT/iffe.sh b/src/cmd/INIT/iffe.sh
index 46b9d77c..27aaa415 100644
--- a/src/cmd/INIT/iffe.sh
+++ b/src/cmd/INIT/iffe.sh
@@ -861,7 +861,7 @@ case `(getopts '[-][123:xyz]' opt --xyz; echo 0$opt) 2>/dev/null` in
\b#define\b \aarg\a \adefault\a is emitted. \bkey\b accepts multiple
\b= \b\adefault\a values; the first valid one is used.]
[+?Each test statement generates a portion of a C language header that contains
- macro defintions, comments, and other text corresponding to the feature
+ macro definitions, comments, and other text corresponding to the feature
tests. \b#ifndef _def_\b\aname\a\b_\b\adirectory\a ...
\b#endif\b guards the generated header from multiple \b#include\bs,
where \aname\a is determined by either the \brun\b statement input file
@@ -917,7 +917,7 @@ case `(getopts '[-][123:xyz]' opt --xyz; echo 0$opt) 2>/dev/null` in
[+def \aname\a?Equivalent to \bcmd,dat,hdr,key,lib,mth,sys,typ\b
\aname\a.]
[+dfn \aname\a?If \aname\a is a macro in the candidate headers then
- a \b#define\b \aname\a \avalue\a statment is output for the
+ a \b#define\b \aname\a \avalue\a statement is output for the
\avalue\a defined in the headers. The definition is \b#ifndef\b
guarded.]
[+exp \aname\a \aexpression\a?If \aexpression\a is a \"...\" string
@@ -1050,7 +1050,7 @@ case `(getopts '[-][123:xyz]' opt --xyz; echo 0$opt) 2>/dev/null` in
\bsh\b(1).]
[+preprocess?The block is preprocessed (\bcc -E\b).]
[+run?The block is executed as a shell script and the output is
- copied to the output file. Succesful test macros are also
+ copied to the output file. Successful test macros are also
defined as shell variables with value \b1\b and are available
within the block. Likewise, failed test macros are defined
as shell variables with value \b0\b.]
diff --git a/src/cmd/INIT/mamake.c b/src/cmd/INIT/mamake.c
index 5368676b..4a7d529b 100644
--- a/src/cmd/INIT/mamake.c
+++ b/src/cmd/INIT/mamake.c
@@ -69,7 +69,7 @@ USAGE_LICENSE
" directories containing a makefile named \bNmakefile\b, \bnmakefile\b,"
" \bMakefile\b or \bmakefile\b are considered. The first makefile"
" found in each leaf directory is scanned for leaf directory"
-" prerequisites; the recusion order is determined by a topological sort"
+" prerequisites; the recursion order is determined by a topological sort"
" of these prerequisites.]:[pattern]"
"[C:?Do all work in \adirectory\a. All messages will mention"
" \adirectory\a.]:[directory]"
diff --git a/src/cmd/INIT/package.sh b/src/cmd/INIT/package.sh
index 0d92f347..79b0e15c 100644
--- a/src/cmd/INIT/package.sh
+++ b/src/cmd/INIT/package.sh
@@ -103,7 +103,7 @@ case `(getopts '[-][123:xyz]' opt --xyz; echo 0$opt) 2>/dev/null` in
[+DESCRIPTION?The \bpackage\b command controls source and binary
packages. It is a \bsh\b(1) script coded for maximal portability. All
package files are in the \b$PACKAGEROOT\b directory tree.
- \b$PACKAGEROOT\b must at minumum contain a \bbin/package\b command or a
+ \b$PACKAGEROOT\b must at minimum contain a \bbin/package\b command or a
\blib/package\b directory. Binary package files are in the
\b$INSTALLROOT\b (\b$PACKAGEROOT/arch/\b\ahosttype\a) tree, where
\ahosttpe\a=`\bpackage\b`. All \aactions\a but \bhost\b and \buse\b
@@ -170,7 +170,7 @@ case `(getopts '[-][123:xyz]' opt --xyz; echo 0$opt) 2>/dev/null` in
are variable assignments. Set admin_ping to local conventions
if \"'$admin_ping$'\" fails. If a package list is not specified
on the command line the \aaction\a applies to all packages; a
- variable assigment \bpackage\b=\"\alist\a\" applies \aaction\a
+ variable assignment \bpackage\b=\"\alist\a\" applies \aaction\a
to the packages in \alist\a for subsequent hosts in \afile\a.
The remaining line type is a host description consisting of 6
tab separated fields. The first 3 are mandatory; the remaining
@@ -206,7 +206,7 @@ case `(getopts '[-][123:xyz]' opt --xyz; echo 0$opt) 2>/dev/null` in
}
[+clean | clobber?Delete the \barch/\b\aHOSTTYPE\a hierarchy; this
deletes all generated files and directories for \aHOSTTYPE\a.
- The heirarchy can be rebuilt by \bpackage make\b.]
+ The hierarchy can be rebuilt by \bpackage make\b.]
[+contents\b [ \apackage\a ... ]]?List description and
components for \apackage\a on the standard output.]
[+copyright\b [ \apackage\a ... ]]?List the general copyright
@@ -322,7 +322,7 @@ case `(getopts '[-][123:xyz]' opt --xyz; echo 0$opt) 2>/dev/null` in
[+update\b [ beta ]] [ binary ]] [ source ]] [\aarchitecture\a ... ]] [ \aurl\a ]] [ \apackage\a ... ]]?Download
the latest release of the selected and required packages from \aurl\a
(e.g., \bhttp://www.research.att.com/sw/download\b) into the directory
- \b$PACKAGEROOT/lib/package/tgz\b. \bbeta\b acesses beta packages;
+ \b$PACKAGEROOT/lib/package/tgz\b. \bbeta\b accesses beta packages;
download these at your own risk. If \aarchitecture\a is omitted then
only architectures already present in the \btgz\b directory will be
downloaded. If \aarchitecture\a is \b-\b then all posted architectures
@@ -513,7 +513,7 @@ case `(getopts '[-][123:xyz]' opt --xyz; echo 0$opt) 2>/dev/null` in
K&R, ANSI, and C++ dialects.]
[+?All scripts and commands under \b$PACKAGEROOT\b use \b$PATH\b
relative pathnames (via the \bast\b \bpathpath\b(3) function); there
- are no imbedded absolute pathnames. This means that binaries generated
+ are no embedded absolute pathnames. This means that binaries generated
under \b$PACKAGEROOT\b may be copied to a different root; users need
only change their \b$PATH\b variable to reference the new installation
root \bbin\b directory. \bpackage install\b installs binary packages in
@@ -864,9 +864,9 @@ original source. The ${bB}ast${eB} ${Mproto} command converts an ANSI C subset t
that is compatible with K&R, ANSI, and C++ dialects.
${bP}
All scripts and commands under ${bB}\$PACKAGEROOT${eB} use ${bB}\$PATH${eB} relative pathnames;
-there are no imbedded absolute pathnames. This means that binaries generated
+there are no embedded absolute pathnames. This means that binaries generated
under ${bB}\$PACKAGEROOT${eB} may be copied to a different root; users need only change
-their ${bB}\$PATH${eB} variable to reference the new instalation root bin directory.
+their ${bB}\$PATH${eB} variable to reference the new installation root bin directory.
${bF}package install${eF} installs binary packages in a new ${bB}\$INSTALLROOT${eB}.
${eO}"
;;
@@ -990,7 +990,7 @@ ${bT}(5)${bD}Read all unread package archive(s):${bX}
ignored. Lines starting with id=value are variable assignments.
Set admin_ping to local conventions if \"$admin_ping\" fails.
If a package list is not specified on the command line the
- action applies to all packages; a variable assigment
+ action applies to all packages; a variable assignment
package=list applies action to the packages in list for
subsequent hosts in FILE. The remaining line type is a host
description consisting of 6 tab separated fields. The first 3
@@ -1026,7 +1026,7 @@ ${bT}(5)${bD}Read all unread package archive(s):${bX}
cc=compiler-version.
clean | clobber
Delete the arch/HOSTTYPE hierarchy; this deletes all generated
- files and directories for HOSTTYPE. The heirarchy can be rebuilt
+ files and directories for HOSTTYPE. The hierarchy can be rebuilt
by package make.]
contents [ package ... ]
List description and components for PACKAGE on the standard
@@ -1143,7 +1143,7 @@ ${bT}(5)${bD}Read all unread package archive(s):${bX}
Download the latest release of the selected and required
packages from URL (e.g.,
http://www.research.att.com/sw/download) into the directory
- \$PACKAGEROOT/lib/package/tgz. beta acesses beta packages;
+ \$PACKAGEROOT/lib/package/tgz. beta accesses beta packages;
download these at your own risk. If ARCHITECTURE is omitted
then only architectures already present in the tgz directory
will be downloaded. If ARCHITECTURE is - then all posted
diff --git a/src/cmd/INIT/regress.sh b/src/cmd/INIT/regress.sh
index a4417c47..b9db5cba 100644
--- a/src/cmd/INIT/regress.sh
+++ b/src/cmd/INIT/regress.sh
@@ -97,7 +97,7 @@ unit [ command [ arg ... ] ]
and \bSAME\b calls following this \bEXEC\b up until the next
\bEXEC\b or the end of the script provide details for the
expected results. If no arguments are specified then the
- arguments from the previious \bEXEC\b in the current \bTEST\b
+ arguments from the previous \bEXEC\b in the current \bTEST\b
group are used, or no arguments if this is the first \bEXEC\b
in the group.]
[+EXIT \b\astatus\a?The command exit status is expected to match
@@ -113,7 +113,7 @@ unit [ command [ arg ... ] ]
0 then tests until the next \bELIF\b, \bELSE\b or \bFI\b are
enabled. Otherwise those tests are skipped. \bIF\b ... \bFI\b
may be nested, but must not cross \bTEST\b boundaries. \anote\a
- is listed on the standard error if the correspoding test block
+ is listed on the standard error if the corresponding test block
is enabled; \bIF\b, \bELIF\b, \bELSE\b may nave a \anote\a
operand.]
[+IGNORE \b\afile\a ...?\afile\a is ignored for subsequent result
diff --git a/src/cmd/ksh93/OBSOLETE b/src/cmd/ksh93/OBSOLETE
index c29cb8bb..f84a190f 100644
--- a/src/cmd/ksh93/OBSOLETE
+++ b/src/cmd/ksh93/OBSOLETE
@@ -4,7 +4,7 @@
.AL 1
.LI
Using a pair of grave accents \^\fB\(ga\fR ... \fB\(ga\fR\^
-for command substition. Use \fB$(\fR ... \fB)\fR instead.
+for command substitution. Use \fB$(\fR ... \fB)\fR instead.
.LI
.B FCEDIT
is an obsolete name for
diff --git a/src/cmd/ksh93/README b/src/cmd/ksh93/README
index 1feeec8a..1acfbfa0 100644
--- a/src/cmd/ksh93/README
+++ b/src/cmd/ksh93/README
@@ -53,7 +53,7 @@ The options have the following defaults and meanings:
using while < file;do ...; done and allowing fields in
each line to be accessed as positional parameters.
FS_3D off For use with 3-D file system. Enabled automatically for
- sytems with dynamic linking.
+ systems with dynamic linking.
KIA off Allow generation of shell cross reference database with -I.
MULTIBYTE on Multibyte character handling. Requires mblen() and
mbctowc().
@@ -68,7 +68,7 @@ The options have the following defaults and meanings:
PFSH off Compile with support for profile shell.
RAWONLY off Turn on if the vi line mode doesn't work right unless
you do a set -o viraw.
- SEVENBIT off Strip the eigth bit from characters.
+ SEVENBIT off Strip the eighth bit from characters.
SPAWN off Use spawn as combined fork/exec. May improve speed on
some systems.
STATS on Add .sh.stats compound variable.
diff --git a/src/cmd/ksh93/RELEASE b/src/cmd/ksh93/RELEASE
index 691f9b4a..431a4d4c 100644
--- a/src/cmd/ksh93/RELEASE
+++ b/src/cmd/ksh93/RELEASE
@@ -25,7 +25,7 @@
12-07-02 A bug in which an exit status > 256 corresponding to a signal was
not returned by a function to indicate a signal exit has been fixed.
12-06-28 Fix ulimit -a to list (Kibytes) instead of (kbytes).
-12-06-27 Fix unitialized data reference for as first char in --vi mode.
+12-06-27 Fix uninitialized data reference for as first char in --vi mode.
12-06-26 The formatting of printf "%q" for multibyte locales has changed to
output using \u[xxx] format for valid wide characters.
12-06-25 The size limit for read -N and read -n has been raised to INT_MAX.
@@ -47,16 +47,16 @@
12-06-12 For assignments if the form x=(foo bar), foo is only check for an
alias if it is float, integer, compound, or nameref.
12-06-12 +The shell supports 64 bit i-nodes even for 32 bit binaries.
-12-06-11 A bug wth >; redirection systems for which vfork() was the same a
+12-06-11 A bug with >; redirection systems for which vfork() was the same a
fork() has been fixed.
12-06-11 A bug in path lookup that ignored buffer boundaries has been fixed.
12-06-08 typeset -a var and typeset -A var, first unset var when var is
a compound variable.
-12-06-08 A bug in which running shcomp on a program containg namespace
+12-06-08 A bug in which running shcomp on a program containing namespace
could core dump has been fixed.
12-06-06 A bug in which unset of an associative array of compound variables
did not completely unset the variable has been fixed.
-12-06-06 A bug in which exporting left or right justfied fields could loose
+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
@@ -69,14 +69,14 @@
directory if they are killed or stopped.
12-06-04 A bug in handling \\ in read has been fixed.
12-05-31 Use getrlimit64/setrlimit64 on systems that support it.
-12-05-31 Fix 64 bit big-endian arithmentic bug that mishandled nan and inf.
+12-05-31 Fix 64 bit big-endian arithmetic bug that mishandled nan and inf.
12-05-31 Handle ECONNRESET like EPIPE.
12-05-31 Change .paths parse to use only the last BUILTIN_LIB from the top
and treat BUILTIN_LIB value as a ':' separated list of lib names.
12-05-29 Fix BUILTIN_LIB binding bug that ignored subsequent lookups.
12-05-29 shtests: --nocompile omits the compile test and --compile does only
the compile test.
-12-05-25 A command subsitution containing a here-document that itself contains
+12-05-25 A command substitution containing a here-document that itself contains
a here-document no longer hangs.
12-05-24 When the redirection operatory >; is directed to a symlink, it now
overwrites the file named by the link rather than the link.
@@ -155,7 +155,7 @@
12-04-09 A bug in which the leading 0 was stripped from $x, when $x contained
a heximadecimal constant inside an arithmetic expression inside
a for or while loop.
-12-04-06 Modified namespaces to hand variabes FPATH, PATH, and OPTIND that
+12-04-06 Modified namespaces to hand variables FPATH, PATH, and OPTIND that
are defined in name spaces appropriately. This also fixed OPTIND
and OPTARG processing for functions.
12-04-04 A bug in which cd .. fails when the current directory has been
@@ -193,7 +193,7 @@
cursor on the b rather than the a has been fixed.
12-03-20 A bug which caused a core dump when defining a type with a field
as ' integer -a data=([0]=0)' has been fixed.
-12-03-19 Using typeset -a array when array is an associative arry not
+12-03-19 Using typeset -a array when array is an associative array not
generated an error message.
12-03-19 typeset +a, typeset +A, and typeset +C not displays the variables
with the attributes a, A, and C respectively instead of an error.
@@ -208,7 +208,7 @@
12-03-16 A bug in which an unset discipline from a variable defined in a
subshell is not invoked in the subshell has been fixed.
12-03-08 The assignment typeset -a (x=1 y=2) now creates an index array
- of two elements rathern than an array of one element which is
+ of two elements rather than an array of one element which is
a compound variable.
12-03-02 +The vi and emacs edit modes now list all the entries in a directory
when entering a for completion after a /.
@@ -258,7 +258,7 @@
characters correctly has been fixed.
12-01-20 A bug that could cause the shell to hang waiting for an incorrect
job pid has been fixed.
-12-01-19 A memory leak which occured for a nested command subtiution has been
+12-01-19 A memory leak which occurred for a nested command subtiution has been
fixed.
12-01-17 A bug in which typeset -u PS1 could enable the uppercase attribute
for some other variables, for exampe, HISTFILE has been fixed.
@@ -282,7 +282,7 @@
with a backshash.
11-12-13 When tab is entered for completion after a ' or ", the ' and "
characters are no longer deleted.
-11-12-07 A bug in which a program in the current direcotry with a . in the
+11-12-07 A bug in which a program in the current directory with a . in the
name could fail to execute when both PATH and FPATH end with :. has
been fixed.
11-12-07 I fixed a bug in which a variable expansion in a large here-document
@@ -439,7 +439,7 @@
11-03-04 +The tilde expansion on windows has been modified to handle user
names of the form domain/user so that ~domain/user now expands
to the home directory of that domain user.
-11-03-03 A bug in which the width of the prompt was calculated incorectly
+11-03-03 A bug in which the width of the prompt was calculated incorrectly
which cause the wrong line length for edit commands has been fixed.
11-03-02 A bug in which a global variables set from within a function inside
a subshell can leave side effects in parent shell has been fixed.
@@ -454,7 +454,7 @@
references defined and the script creates name references of the
same name.
11-02-21 The shell now fails with a syntax error when a here-document in a
- command substition is not completed before the closing ), for
+ command substitution is not completed before the closing ), for
example, $( foobar <&- doesn't work has been fixed.
-11-02-07 A bug on some systems for which a command subtitution could hang
+11-02-07 A bug on some systems for which a command substitution could hang
has been fixed.
11-01-28 A bug in file name completion for files containing both multibyte
characters shell special characters has been fixed.
@@ -482,7 +482,7 @@
variables when the same array was referenced on the left and the
right hand side with different indices has been fixed.
11-01-10 A bug in which the output of time was lost when { time...;} 2>&1
- occurred inside command substition has been fixed.
+ occurred inside command substitution has been fixed.
11-01-07 [[ -v sh.match[i] ]] was returning false when sh.match[i] was set.
11-01-05 Added and modified warning messages with sh -n.
11-01-02 Fixed bugs with typeset -l/-u/-M and arrays.
@@ -557,7 +557,7 @@
when the type is initialized has been fixed.
10-11-12 The sequences \< and \> are now preserved after patterns containing
~(E) in ${var/pattern/string} expansions.
-10-11-11 A bug in typeset -m when the variables were compound arrary instances
+10-11-11 A bug in typeset -m when the variables were compound array instances
has been fixed.
10-11-10 A bug in output of a compound variable with types containing types
has been fixed.
@@ -718,7 +718,7 @@
10-07-07 A bug in the output for compound variables containing
multi-dimensional arrays has been fixed.
10-07-06 ksh now recovers from changes made by bash to the history file without
- loosing history commands.
+ losing history commands.
10-06-25 A bug in which a large here document containing command substitutions
of a dynamically loaded function that contained a here document
could get truncated has been fixed.
@@ -785,7 +785,7 @@
to make this the current line (n defaults to 1 of omitted) or
n to execute.
10-05-20 A bug which caused an exception when multiple levels of composite
- functions in arithemtic expressions has been fixed.
+ functions in arithmetic expressions has been fixed.
10-05-19 <<< with an empty string no longer gives an error.
10-05-19 A bug in arithmetic evaluation when a name reference to an array
instance was used has been fixed.
@@ -819,7 +819,7 @@
a non-zero element was specified and this has been fixed.
10-04-26 A bug in which types defined in a subshell were not undefined when
the subshell completed has been fixed.
-10-04-23 For file completion in commmand line editing, file names starting
+10-04-23 For file completion in command line editing, file names starting
with # are now escaped so that they are not treated as comments.
10-04-23 A bug in which ${t.var:=value}, where t is an instance of a type
variable, could assign value to the type variable rather than to
@@ -1436,7 +1436,7 @@
08-03-27 A bug in which the terminal group was not given back to the parent
shell when the last part of a pipeline was handled by the parent shell
and the other parts of the pipeline complete has been fixed.
- The symptom was that the pipeline became uninterruptable.
+ The symptom was that the pipeline became uninterruptible.
08-03-25 A bug in restricted mode introduced in ksh93s that caused scripts
that did not use #! to executed in restricted mode has been fixed.
08-03-25 A bug in which the pipefail option did not work for a pipeline
@@ -1533,7 +1533,7 @@
from a subshell has been fixed.
08-01-17 A bug in which a command substitution consisting only of
assignments was treated as a noop has been fixed.
-08-01-17 A bug in which discipline functions invoked from withing a
+08-01-17 A bug in which discipline functions invoked from within a
compound assignment could fail has been fixed.
08-01-16 Incomplete arithmetic assignments, for example ((x += )), now
generate an error message.
@@ -1793,7 +1793,7 @@
06-04-25 A bug in the vi edit mode which could cause the shell to core dump
when switching from emacs mode.
06-04-17 A bug in which using LANG or LC_ in assignment lists with builtins
- did not restore the localed correctly has been fixed.
+ did not restore the locale correctly has been fixed.
06-04-04 A bug in which discipline functions could not be added to variables
whose names started with .sh has been fixed.
06-03-28 +The -s option to typeset was added to modify -i to indicate short
@@ -2344,7 +2344,7 @@
viraw mode will always be on.
01-10-31 --- Release ksh93m ---
-01-10-31 A for loop optimizer bug for subshells contained withing for
+01-10-31 A for loop optimizer bug for subshells contained within for
loops has been fixed.
01-10-16 typeset without arguments no longer outputs variable names
that do not have any attributes that are set.
diff --git a/src/cmd/ksh93/RELEASE93 b/src/cmd/ksh93/RELEASE93
index e99c8781..04ae78a9 100644
--- a/src/cmd/ksh93/RELEASE93
+++ b/src/cmd/ksh93/RELEASE93
@@ -313,7 +313,7 @@ of ksh.
the value of a name reference contained a positional
parameter and the name reference was not defined inside
a function has been fixed.
- o. Arithmetic expressions now correctly handle hexidecimal
+ o. Arithmetic expressions now correctly handle hexadecimal
constants.
p. A bug in which integer variables could be expanded
with a leading 10# when declared with typeset -i
diff --git a/src/cmd/ksh93/bltins/regress.c b/src/cmd/ksh93/bltins/regress.c
index 25f3c251..6dbb26b6 100644
--- a/src/cmd/ksh93/bltins/regress.c
+++ b/src/cmd/ksh93/bltins/regress.c
@@ -91,7 +91,7 @@ USAGE_LICENSE
"\aoriginal-euid\a.]"
"}"
"[103:p_suid?Specifies a value for SHOPT_P_SUID. Effective uids greater "
- "than the non-privileged-uid disable the priveleged mode. The intercepts "
+ "than the non-privileged-uid disable the privileged mode. The intercepts "
"are:]#?[non-privileged-uid:=1]"
"{"
"[+SHOPT_P_SUID?The SHOPT_P_SUID macro value is overridden by "
diff --git a/src/cmd/ksh93/builtins.mm b/src/cmd/ksh93/builtins.mm
index 0a4ef7cd..dde89705 100644
--- a/src/cmd/ksh93/builtins.mm
+++ b/src/cmd/ksh93/builtins.mm
@@ -624,7 +624,7 @@ int optget(char *\fIargv\fP[], const char *\fIoptstring\fP)
builtin commands. It takes the name of the built-in, the
address of the function that implements the built-in, and
a \f5void*\fP pointer that will be passed to this function
-as the third agument whenever it is invoked.
+as the third argument whenever it is invoked.
If the function address is \f5NULL\fP, the specified built-in
will be deleted. However, special built-in functions cannot
be deleted or modified.
diff --git a/src/cmd/ksh93/data/builtins.c b/src/cmd/ksh93/data/builtins.c
index 31dbf39e..59b56723 100644
--- a/src/cmd/ksh93/data/builtins.c
+++ b/src/cmd/ksh93/data/builtins.c
@@ -206,7 +206,7 @@ const char sh_set[] =
"invoked with a \b+\b the options will be written in a format "
"that can be reinput to the shell to restore the settings. "
"Options \b-o\b \aname\a can also be specified with \b--\b\aname\a "
- "and \b+o \aname\a can be specifed with \b--no\b\aname\a except that "
+ "and \b+o \aname\a can be specified with \b--no\b\aname\a except that "
"options names beginning with \bno\b are turned on by omitting \bno\b."
"This option can be repeated to enable/disable multiple options. "
"The value of \aoption\a must be one of the following:]{"
@@ -968,12 +968,12 @@ USAGE_LICENSE
"[+?If \afirst\a is specified and \alast\a is omitted, then \alast\a will "
"default to \afirst\a unless \b-l\b is specified in which case "
"it will default to \b-1\b.]"
-"[+?If no editor is specified, then the editor specfied by the \bHISTEDIT\b "
+"[+?If no editor is specified, then the editor specified by the \bHISTEDIT\b "
"variable will be used if set, or the \bFCEDIT\b variable will be "
"used if set, otherwise, \bed\b will be used.]"
"[e]:[editor?\aeditor\a specifies the editor to use to edit the history "
"command. A value of \b-\b for \aeditor\a is equivalent to "
- "specifiying the \b-s\b option.]"
+ "specifying the \b-s\b option.]"
"[l?List the commands rather than editing and reexecuting them.]"
"[N]#[num?Start at \anum\a commands back.]"
"[n?Suppress the command numbers when the commands are listed.]"
@@ -1196,9 +1196,9 @@ USAGE_LICENSE
"[+-?The escape sequence \b\\C[.\b\aname\a\b.]]\b expands to "
"the collating element \aname\a.]"
"[+-?The escape sequence \b\\x{\b\ahex\a\b}\b expands to the "
- "character corresponding to the hexidecimal value \ahex\a.]"
+ "character corresponding to the hexadecimal value \ahex\a.]"
"[+-?The escape sequence \b\\u{\b\ahex\a\b}\b expands to the unicode "
- "character corresponding to the hexidecimal value \ahex\a.]"
+ "character corresponding to the hexadecimal value \ahex\a.]"
"[+-?The format modifier flag \b=\b can be used to center a field to "
"a specified width.]"
"[+-?The format modifier flag \bL\b can be used with the \bc\b and "
@@ -1383,7 +1383,7 @@ USAGE_LICENSE
"will be set to this value. If there is no file with this pathname, "
"and this pathame does not contain a \b/\b, then the \bPATH\b "
"will be searched for an executable with this name. Any remaining "
- "\aarg\as will be used to initialize the positional parmaeters.]"
+ "\aarg\as will be used to initialize the positional parameters.]"
"[+?Any option can use a \b+\b instead of a \b-\b to disable the corresponding "
"option.]"
"[c?Read the commands from the first \aarg\a.]"
@@ -1654,7 +1654,7 @@ USAGE_LICENSE
"[l?Without \b-i\b, sets character mapping to \btolower\b. When used "
"with \b-i\b, \b-E\b, or \b-F\b indicates long variant.]"
"[m?Move. The value is the name of a variable whose value will be "
- "moved to \aname\a. The orignal variable will be unset. Cannot be "
+ "moved to \aname\a. The original variable will be unset. Cannot be "
"used with any other options.]"
"[n?Name reference. The value is the name of a variable that \aname\a "
"references. \aname\a cannot contain a \b.\b. Cannot be use with "
diff --git a/src/cmd/ksh93/sh/bash.c b/src/cmd/ksh93/sh/bash.c
index fd2f3a14..8e960a76 100644
--- a/src/cmd/ksh93/sh/bash.c
+++ b/src/cmd/ksh93/sh/bash.c
@@ -43,7 +43,7 @@ extern const char bash_pre_rc[];
static char *login_files[4];
const char sh_bash1[] =
- "[B?Enable brace group expansion. This option is only availabe in bash "
+ "[B?Enable brace group expansion. This option is only available in bash "
"compatibility mode. In ksh mode, brace group expansion is always on.]"
"[P?Do not follow symbolic links, use physical directory structure "
"instead. Only available in bash compatibility mode.]";
diff --git a/src/cmd/ksh93/tests/arith.sh b/src/cmd/ksh93/tests/arith.sh
index 0dfea0e0..288b4c5a 100755
--- a/src/cmd/ksh93/tests/arith.sh
+++ b/src/cmd/ksh93/tests/arith.sh
@@ -312,7 +312,7 @@ typeset -ui42 x=50
if [[ $x != 42#18 ]]
then err_exit 'display of unsigned integers in non-decimal bases wrong'
fi
-$SHELL -c 'i=0;(( ofiles[i] != -1 && (ofiles[i] < mins || mins == -1) ));exit 0' 2> /dev/null || err_exit 'lexical error with arithemtic expression'
+$SHELL -c 'i=0;(( ofiles[i] != -1 && (ofiles[i] < mins || mins == -1) ));exit 0' 2> /dev/null || err_exit 'lexical error with arithmetic expression'
$SHELL -c '(( +1 == 1))' 2> /dev/null || err_exit 'unary + not working'
typeset -E20 val=123.01234567890
[[ $val == 123.0123456789 ]] || err_exit "rounding error val=$val"
@@ -664,7 +664,7 @@ done
[[ $($SHELL 2> /dev/null -c 'print -- $(( ldexp(1, 4) ))' ) == 16 ]] || err_exit 'function ldexp not implement or not working correctly'
-$SHELL 2> /dev/null -c 'str="0x1.df768ed398ee1e01329a130627ae0000p-1";typeset -l -E x;((x=str))' || err_exit '((x=var)) fails for hexfloat with var begining with 0x1.nnn'
+$SHELL 2> /dev/null -c 'str="0x1.df768ed398ee1e01329a130627ae0000p-1";typeset -l -E x;((x=str))' || err_exit '((x=var)) fails for hexfloat with var beginning with 0x1.nnn'
x=(3 6 12)
(( x[2] /= x[0]))
diff --git a/src/cmd/ksh93/tests/arrays.sh b/src/cmd/ksh93/tests/arrays.sh
index e9b5ce95..7845f735 100755
--- a/src/cmd/ksh93/tests/arrays.sh
+++ b/src/cmd/ksh93/tests/arrays.sh
@@ -314,7 +314,7 @@ integer i
for ((i=0; i < 40; i++))
do x[i]=$i
done
-[[ ${#x[@]} == 40 ]] || err_exit 'index arrays loosing values'
+[[ ${#x[@]} == 40 ]] || err_exit 'index arrays losing values'
[[ $( ($SHELL -c 'typeset -A var; (IFS=: ; set -A var a:b:c ;print ${var[@]});:' )2>/dev/null) == 'a b c' ]] || err_exit 'change associative to index failed'
unset foo
[[ $(foo=good
diff --git a/src/cmd/ksh93/tests/arrays2.sh b/src/cmd/ksh93/tests/arrays2.sh
index 3d5fe1b9..ff9e21f6 100755
--- a/src/cmd/ksh93/tests/arrays2.sh
+++ b/src/cmd/ksh93/tests/arrays2.sh
@@ -163,7 +163,7 @@ done
[[ ${#ar[*]} == 9 ]] || err_exit "\${#ar[*]} is '${#ar[*]}', should be 9"
[[ ${ar[4][4]} == 40 ]] || err_exit "ar[4][4] is '${ar[4][4]}', should be 40"
-$SHELL 2> /dev/null -c 'compound c;float -a c.ar;(( c.ar[2][3][3] = 5))' || 'multi-dimensional arrays in arithemtic expressions not working'
+$SHELL 2> /dev/null -c 'compound c;float -a c.ar;(( c.ar[2][3][3] = 5))' || 'multi-dimensional arrays in arithmetic expressions not working'
expected='typeset -a -l -E c.ar=([2]=([3]=([3]=5) ) )'
unset c
diff --git a/src/cmd/ksh93/tests/attributes.sh b/src/cmd/ksh93/tests/attributes.sh
index feca411e..fdf79e54 100755
--- a/src/cmd/ksh93/tests/attributes.sh
+++ b/src/cmd/ksh93/tests/attributes.sh
@@ -182,8 +182,8 @@ typeset -b x=$b1
typeset -b -Z5 a=$b1
[[ $(printf "%B" a) == $w1 ]] || err_exit 'typeset -b -Z5 not working'
typeset -b q=$x$x
-[[ $q == $b2 ]] || err_exit 'typeset -b not working with concatination'
-[[ $(printf "%B" q) == $t1$t1 ]] || err_exit 'typeset -b concatination not working'
+[[ $q == $b2 ]] || err_exit 'typeset -b not working with concatenation'
+[[ $(printf "%B" q) == $t1$t1 ]] || err_exit 'typeset -b concatenation not working'
x+=$b1
[[ $x == $b2 ]] || err_exit 'typeset -b not working with append'
[[ $(printf "%B" x) == $t1$t1 ]] || err_exit 'typeset -b append not working'
diff --git a/src/cmd/ksh93/tests/basic.sh b/src/cmd/ksh93/tests/basic.sh
index 1cab8e00..4613baee 100755
--- a/src/cmd/ksh93/tests/basic.sh
+++ b/src/cmd/ksh93/tests/basic.sh
@@ -223,7 +223,7 @@ exec 9>& 1
exec 1>&-
x=$(print hello)
if [[ $x != hello ]]
-then err_exit "command subsitution with stdout closed failed"
+then err_exit "command substitution with stdout closed failed"
fi
exec >& 9
cd $pwd
diff --git a/src/cmd/ksh93/tests/builtins.sh b/src/cmd/ksh93/tests/builtins.sh
index 1d24904e..3b191546 100755
--- a/src/cmd/ksh93/tests/builtins.sh
+++ b/src/cmd/ksh93/tests/builtins.sh
@@ -525,7 +525,7 @@ $SHELL -c "( sleep 1; kill -ALRM \$\$ ) & sleep $del" 2> /dev/null
exitval=$?
(( sec = SECONDS - sec ))
exec 2>&3-
-(( exitval )) && err_exit "sleep doesn't exit 0 with ALRM interupt"
+(( exitval )) && err_exit "sleep doesn't exit 0 with ALRM interrupt"
(( sec > (del - 1) )) || err_exit "ALRM signal causes sleep to terminate prematurely -- expected 3 sec, got $sec"
typeset -r z=3
y=5
diff --git a/src/cmd/ksh93/tests/comvar.sh b/src/cmd/ksh93/tests/comvar.sh
index 0084566f..cc60ba29 100755
--- a/src/cmd/ksh93/tests/comvar.sh
+++ b/src/cmd/ksh93/tests/comvar.sh
@@ -63,7 +63,7 @@ unset x
typeset -A x
x=( [foo]=bar )
if [[ ${x[@]} != bar ]]
-then err_exit 'compound assignemnt of associative arrays not working'
+then err_exit 'compound assignment of associative arrays not working'
fi
unset -n foo x
unset foo x
@@ -424,7 +424,7 @@ data.samples+=(
[[ $data == %(()) ]] || err_exit "unbalanced parenthesis with compound variable containing array of compound variables"
typeset -C -A hello=( [foo]=bar)
-[[ $(typeset -p hello) == 'typeset -C -A hello=([foo]=bar)' ]] || err_exit 'typeset -A -C with intial assignment not working'
+[[ $(typeset -p hello) == 'typeset -C -A hello=([foo]=bar)' ]] || err_exit 'typeset -A -C with initial assignment not working'
# this caused a core dump before ksh93t+
[[ $($SHELL -c 'foo=(x=3 y=4);function bar { typeset z=4;: $z;};bar;print ${!foo.@}') == 'foo.x foo.y' ]] 2> /dev/null || err_exit '${!foo.@} after function not working'
@@ -536,7 +536,7 @@ compound x=(
integer a=1
compound b=cpv1
)
-[[ $x == *f=2* ]] || err_exit "The field b containg 'f=2' is missing"
+[[ $x == *f=2* ]] || err_exit "The field b containing 'f=2' is missing"
unset x
compound x=(
@@ -602,12 +602,12 @@ expected=$'(\n\t[0]=(\n\t\ta=1\n\t)\n\t[1]=(\n\t\tb=2\n\t)\n)'
compound -a x=( [0]=(a=1) [1]=(b=2) )
typeset -m "z=x[1]"
-[[ $(typeset -p z 2>/dev/null) == 'typeset -C z=(b=2)' ]] || err_exit 'typeset -m not working with commpound -a variable'
+[[ $(typeset -p z 2>/dev/null) == 'typeset -C z=(b=2)' ]] || err_exit 'typeset -m not working with compound -a variable'
unset x z
compound -A x=( [0]=(a=1) [1]=(b=2) )
typeset -m "z=x[1]"
-[[ $(typeset -p z 2>/dev/null) == 'typeset -C z=(b=2)' ]] || err_exit 'typeset -m not working with commpound -a variable'
+[[ $(typeset -p z 2>/dev/null) == 'typeset -C z=(b=2)' ]] || err_exit 'typeset -m not working with compound -a variable'
typeset -m "x[1]=x[0]"
typeset -m "x[0]=z"
exp='([0]=(b=2) [1]=(a=1))'
diff --git a/src/cmd/ksh93/tests/expand.sh b/src/cmd/ksh93/tests/expand.sh
index 2547be8a..123698cd 100755
--- a/src/cmd/ksh93/tests/expand.sh
+++ b/src/cmd/ksh93/tests/expand.sh
@@ -111,9 +111,9 @@ done
set -- ~(N)/dev/null
[[ $# == 1 && $1 == /dev/null ]] || err_exit "~(N)/dev/null not matching /dev/null"
set -- ~(N)/dev/non_existant_file
-[[ $# == 0 ]] || err_exit "~(N)/dev/nonexistant not empty"
+[[ $# == 0 ]] || err_exit "~(N)/dev/nonexistent not empty"
set -- ""~(N)/dev/non_existant_file
-[[ $# == 1 && ! $1 ]] || err_exit '""~(N)/dev/nonexistant not null argument'
+[[ $# == 1 && ! $1 ]] || err_exit '""~(N)/dev/nonexistent not null argument'
set -- ~(N)/dev/non_existant_file""
[[ $# == 1 && ! $1 ]] || err_exit '~(N)/dev/nonexistent"" not null argument'
for i in ~(N)/dev/non_existent_file
diff --git a/src/cmd/ksh93/tests/functions.sh b/src/cmd/ksh93/tests/functions.sh
index ecbc7f56..a7a607ba 100755
--- a/src/cmd/ksh93/tests/functions.sh
+++ b/src/cmd/ksh93/tests/functions.sh
@@ -341,7 +341,7 @@ then err_exit "export inside function not working -- expected 'fun', got '$val'"
fi
val=$(export | sed -e '/^zzz=/!d' -e 's/^zzz=//')
if [[ $val ]]
-then err_exit "unset varaible exported after function call -- expected '', got '$val'"
+then err_exit "unset variable exported after function call -- expected '', got '$val'"
fi
unset zzz
diff --git a/src/cmd/ksh93/tests/heredoc.sh b/src/cmd/ksh93/tests/heredoc.sh
index 61b0110d..436b4361 100755
--- a/src/cmd/ksh93/tests/heredoc.sh
+++ b/src/cmd/ksh93/tests/heredoc.sh
@@ -244,7 +244,7 @@ eval "$(
EOF
} > $script
chmod +x $script
-[[ $($SHELL $script) == hello ]] 2> /dev/null || err_exit 'heredoc embeded in command substitution fails at buffer boundary'
+[[ $($SHELL $script) == hello ]] 2> /dev/null || err_exit 'heredoc embedded in command substitution fails at buffer boundary'
got=$( cat << EOF
\
@@ -491,7 +491,7 @@ EOF
print EOF
} > $f
$SHELL $f > $g
-[[ $(grep meep $g | grep -v foobar) != '' ]] && err_exit 'here-doc loosing $var expansions on boundaries in rare cases'
+[[ $(grep meep $g | grep -v foobar) != '' ]] && err_exit 'here-doc losing $var expansions on boundaries in rare cases'
print foo > $tmp/foofile
x=$( $SHELL 2> /dev/null 'read <<< $(<'"$tmp"'/foofile) 2> /dev/null;print -r "$REPLY"')
diff --git a/src/cmd/ksh93/tests/nameref.sh b/src/cmd/ksh93/tests/nameref.sh
index 5c0a7497..467e369a 100755
--- a/src/cmd/ksh93/tests/nameref.sh
+++ b/src/cmd/ksh93/tests/nameref.sh
@@ -126,7 +126,7 @@ set foo
nameref bar=$1
foo=hello
if [[ $bar != hello ]]
-then err_exit 'nameref of positional paramters outside of function not working'
+then err_exit 'nameref of positional parameters outside of function not working'
fi
unset foo bar
bar=123
diff --git a/src/cmd/ksh93/tests/namespace.sh b/src/cmd/ksh93/tests/namespace.sh
index 057470ad..77769a3f 100755
--- a/src/cmd/ksh93/tests/namespace.sh
+++ b/src/cmd/ksh93/tests/namespace.sh
@@ -95,8 +95,8 @@ false
}
[[ $(fn) == 'global fn abc' ]] || err_exit 'fn outside namespace should run global function'
[[ $(.x.fn) == 'local fn bar' ]] || err_exit 'namespace function called from global failed'
-[[ ${z[abc]} == qqq ]] || err_exit 'global associative array should not be affected by definiton in namespace'
-[[ ${bar.y} == 4 ]] || err_exit 'global compound variable should not be affected by definiton in namespace'
+[[ ${z[abc]} == qqq ]] || err_exit 'global associative array should not be affected by definition in namespace'
+[[ ${bar.y} == 4 ]] || err_exit 'global compound variable should not be affected by definition in namespace'
[[ ${bar.z} == '' ]] || err_exit 'global compound variable should not see elements in namespace'
[[ $(xfun) == 'xfun global abc' ]] || err_exit 'global function on FPATH failed'
[[ $(run $foo) == 'global prog abc' ]] || err_exit 'global binary on PATH failed'
diff --git a/src/cmd/ksh93/tests/path.sh b/src/cmd/ksh93/tests/path.sh
index 491de73d..e7affb09 100755
--- a/src/cmd/ksh93/tests/path.sh
+++ b/src/cmd/ksh93/tests/path.sh
@@ -380,7 +380,7 @@ PATH=$tmp/bin:$tmp/new/bin:$PATH
x=$(whence -p echo 2> /dev/null)
[[ $x == "$tmp/new/bin/echo" ]] || err_exit 'nonexistant FPATH directory in .paths file causes path search to fail'
-$SHELL 2> /dev/null <<- \EOF || err_exit 'path search problem with non-existant directories in PATH'
+$SHELL 2> /dev/null <<- \EOF || err_exit 'path search problem with non-existent directories in PATH'
PATH=/usr/nogood1/bin:/usr/nogood2/bin:/bin:/usr/bin
tail /dev/null && tail /dev/null
EOF
diff --git a/src/cmd/ksh93/tests/quoting.sh b/src/cmd/ksh93/tests/quoting.sh
index 01aae0dc..80c47b37 100755
--- a/src/cmd/ksh93/tests/quoting.sh
+++ b/src/cmd/ksh93/tests/quoting.sh
@@ -301,7 +301,7 @@ fi
###########################################################
###########################################################
###########################################################
-print foo) ]] || err_exit "command subsitution with long comments broken"
+print foo) ]] || err_exit "command substitution with long comments broken"
subject='some/other/words'
re='@(?*)/@(?*)/@(?*)'
[[ ${subject/${re}/\3} != words ]] && err_exit 'string replacement with \3 not working'
diff --git a/src/cmd/ksh93/tests/subshell.sh b/src/cmd/ksh93/tests/subshell.sh
index a6d7475b..5b774c24 100755
--- a/src/cmd/ksh93/tests/subshell.sh
+++ b/src/cmd/ksh93/tests/subshell.sh
@@ -594,7 +594,7 @@ dot=$(cat <<-EOF
EOF
) ) & sleep 1
if kill -0 $! 2> /dev/null
-then err_exit 'command substitution containg here-doc with command substitution fails'
+then err_exit 'command substitution containing here-doc with command substitution fails'
fi
printf=$(whence -p printf)
diff --git a/src/cmd/ksh93/tests/substring.sh b/src/cmd/ksh93/tests/substring.sh
index 19746155..d33b7f9a 100755
--- a/src/cmd/ksh93/tests/substring.sh
+++ b/src/cmd/ksh93/tests/substring.sh
@@ -177,10 +177,10 @@ do [[ $(eval print -r -- \"\${xx//:/\\${str:i:1}}\") == "a${str:i:1}b" ]] |
[[ $(eval print -rn -- \"\${xx//:/\'${str:i:1}\'}\") == "a${str:i:1}b" ]] || err_exit "substitution of '${str:i:1}' failed"
[[ $(eval print -r -- \"\${xx//:/\"${str:i:1}\"}\") == "a${str:i:1}b" ]] || err_exit "substitution of \"${str:i:1}\" failed"
done
-[[ ${xx//:/\\n} == 'a\nb' ]] || err_exit "substituion of \\\\n failed"
-[[ ${xx//:/'\n'} == 'a\nb' ]] || err_exit "substituion of '\\n' failed"
-[[ ${xx//:/"\n"} == 'a\nb' ]] || err_exit "substituion of \"\\n\" failed"
-[[ ${xx//:/$'\n'} == $'a\nb' ]] || err_exit "substituion of \$'\\n' failed"
+[[ ${xx//:/\\n} == 'a\nb' ]] || err_exit "substitution of \\\\n failed"
+[[ ${xx//:/'\n'} == 'a\nb' ]] || err_exit "substitution of '\\n' failed"
+[[ ${xx//:/"\n"} == 'a\nb' ]] || err_exit "substitution of \"\\n\" failed"
+[[ ${xx//:/$'\n'} == $'a\nb' ]] || err_exit "substitution of \$'\\n' failed"
unset foo
foo=one/two/three
if [[ ${foo//'/'/_} != one_two_three ]]
@@ -495,8 +495,8 @@ x=$'-(-\\"\')\\\'\\"\'-)-'
pattern=00
var=100
-[[ $( print $(( ${var%%00} )) ) == 1 ]] || err_exit "arithmetic with embeddded patterns fails"
-[[ $( print $(( ${var%%$pattern} )) ) == 1 ]] || err_exit "arithmetic with embeddded pattern variables fails"
+[[ $( print $(( ${var%%00} )) ) == 1 ]] || err_exit "arithmetic with embedded patterns fails"
+[[ $( print $(( ${var%%$pattern} )) ) == 1 ]] || err_exit "arithmetic with embedded pattern variables fails"
if [[ ax == @(a)* ]] && [[ ${.sh.match[1]:0:${#.sh.match[1]}} != a ]]
then err_exit '${.sh.match[1]:1:${#.sh.match[1]}} not expanding correctly'
fi
diff --git a/src/cmd/ksh93/tests/types.sh b/src/cmd/ksh93/tests/types.sh
index ca2e3eca..b0cbfc66 100755
--- a/src/cmd/ksh93/tests/types.sh
+++ b/src/cmd/ksh93/tests/types.sh
@@ -401,7 +401,7 @@ typeset -T olist=(
)
olist foo
foo.l[1]=x
-[[ ${!foo.l[*]} == *0* ]] && '0-th elment of foo.l should not be set'
+[[ ${!foo.l[*]} == *0* ]] && '0-th element of foo.l should not be set'
typeset -T oset2=( typeset -A foo )
oset2 bar
diff --git a/src/lib/libast/README b/src/lib/libast/README
index cc0cf823..31625d82 100644
--- a/src/lib/libast/README
+++ b/src/lib/libast/README
@@ -56,7 +56,7 @@ misc:
getshell return full path of shell for cmdopen()
ooptget optget() for obsolete ar(1) and tar(1) options
optget YA getopt(3) but no argc or error message output
- pathaccess find file with specific acces on list of dirs
+ pathaccess find file with specific access on list of dirs
pathcanon canonicalize path name in place
pathcmd return full path name of executable using $PATH
pathroot determine `related root' directory for command
diff --git a/src/lib/libast/RELEASE b/src/lib/libast/RELEASE
index 47ddeaf3..3836977a 100644
--- a/src/lib/libast/RELEASE
+++ b/src/lib/libast/RELEASE
@@ -268,7 +268,7 @@
09-01-31 features/sys: drop header sys/localedef.h
09-01-28 include/fs3d.h,misc/fs3d.c: mount() => fs3d_mount() for diff std prototypes
09-01-14 misc/fts_open.c: delay top list reorder until first fts_read()
-09-01-14 include/ls.h: LS_W_INUMBER => 9 to accomodate large st_ino
+09-01-14 include/ls.h: LS_W_INUMBER => 9 to accommodate large st_ino
09-01-14 misc/optget.c: expand STYLE_usage input text
09-01-09 features/uwin,stdio/_stdfun.c: iffe for _p__iob and __p__iob
09-01-09 misc/magic.tab: add ISO filesystem image entries
@@ -472,7 +472,7 @@
06-09-12 string/strelapsed.c: fix multi-char qualifier parse
06-09-12 string/strtoi.h: drop [cClLqQwW] multipliers
06-09-11 misc/optget.c: add numeric arg validity check
-06-09-07 misc/optget.c,tm/tmfix.c: fix uninitialzed var refs
+06-09-07 misc/optget.c,tm/tmfix.c: fix uninitialized var refs
06-09-05 path/pathprobe.c: add version header verification
06-08-01 Makefile: handle iffe vs FEATURE/common vs ast_common.h
06-08-31 Makefile: add ast_map.h to the bootstrap list
@@ -540,7 +540,7 @@
05-05-31 string/fmtbuf.c: unlock (spin) before each return -- doh
05-05-30 sfio/sfpkrd.c: work around macos 10.4 recv(MSG_PEEK) bug
05-05-27 regex: add REX_NEST (?%[S.][T.][OT])
- magic.tab: ammend bsd db magic
+ magic.tab: amend bsd db magic
05-05-23 regex: REX_NEST (?%[D.][E.][L.][Q.][oc]...)
05-05-21 regex: state.fold[] is now locale specific -- doh
05-05-19 regex: add REX_NEST (?%\\()<>[]""...) %(...) nested match
@@ -861,13 +861,13 @@
03-01-24 path/pathexists.c: fix abs dir bug and deal with case ignorance
03-01-23 path/pathpath.c: honor PATH_ABSOLUTE for the easy case too
03-01-22 path/pathprobe.c: fix search to find both the probe script and command
-03-01-17 misc/magic.tab: application/zip => appplication/(gzip|pzip|zip)
+03-01-17 misc/magic.tab: application/zip => application/(gzip|pzip|zip)
03-01-14 misc/optget.c: change href="" to href="."
03-01-10 include/ast_std.h: strtold() import hackery for static __CYGWIN__
03-01-03 include/regex.h,regex/regcomp.h: add REG_SHELL_GROUP
include/ast.h,string/strmatch.c: add STR_GROUP for REG_SHELL_GROUP
02-12-15 include/error.h: errorcontext => Error_context_s (compatible til 2004)
-02-12-06 misc/sigdata.c: add NoF(sigdadata) -- why nmake was uninterruptable!
+02-12-06 misc/sigdata.c: add NoF(sigdadata) -- why nmake was uninterruptible!
02-12-03 comp/omitted.c,features/omitted: handle cygwin alarm() return botch
02-11-27 misc/swapop.c: op=3,size=4 => op=7
string/strlcat.c,strlcpy.c: fix uwin decl clash
@@ -1100,7 +1100,7 @@
01-10-05 misc/glob.c: fix `\(x/*' GLOB_NOMATCH bug that returned `(x'
misc/optget.c: fix localization lookup that didn't drop doubled : ? ]
01-10-04 comp/setlocale.c: handle sizeof(wchar_t)!=4 in debug locale
- comp/conf.sh: handle sytems where _SC_* is both an enum and a macro
+ comp/conf.sh: handle systems where _SC_* is both an enum and a macro
01-09-25 astconf: add LIBPREFIX
01-09-20 features/common: add __DYNAMIC__() for dll externs
01-09-19 cdt: kpv update
@@ -1289,7 +1289,7 @@
tmlex: check tm_info.format and tm_data.format
tmfix: fix for tm_wday special case (via nl_langinfo on LC_TIME fields)
strftime: fix for nl_langinfo special case
- ast_std.h: provide LC_* defauls if not defined
+ ast_std.h: provide LC_* defaults if not defined
sfnew: check ${_AST_sfio_bufsize} -- don't tell kpv
catopen,nl_types.h: add intercept to mc* routines
magic.tab: add ast message catalog
@@ -1348,7 +1348,7 @@
99-10-22 tmfmt: %C=2-digit-century, %k=date(1), %y=2-digit-year-in-century
99-10-18 fastfind: expanded default db lookup
99-08-11 magic: fix off by one registry malloc
- features/fs: add __RENAME checks for stat familiy (netbsd)
+ features/fs: add __RENAME checks for stat family (netbsd)
features/fs: major()/minor() fixes for s5
features/libpath.sh: netbsd fix -- ld.so not in std places
misc/fastfind: fix codes path generation bug
@@ -1463,7 +1463,7 @@
proc: add PROC_ZOMBIE
98-02-06 strmatch() char class range bug fix
regex char class range bug fix
-98-01-23 _WIN32: changed the #if logic again to accomodate _GNUC_
+98-01-23 _WIN32: changed the #if logic again to accommodate _GNUC_
mnt: grab the mount options too
ast_std.h: hide getopt,getsubopt from stdlib.h
features/limits.c: add gnu guard macros to avoid limits.h recursion
diff --git a/src/lib/libast/man/aso.3 b/src/lib/libast/man/aso.3
index a9d077a1..872b6b43 100644
--- a/src/lib/libast/man/aso.3
+++ b/src/lib/libast/man/aso.3
@@ -218,7 +218,7 @@ The default value \f50\fP disables the test.
If \f5errorf\fP != \f50\fP then it is called for each \fIASO\fP fatal library condition.
\f5type\fP may be one of: \f5ASO_METHOD\fP - a method error; \f5ASO_HUNG\fP - \f5asoloop\fP() was called
\f52**Asometh_t.hung\fP times with no access to the loop resource.
-\f5mesg\fP is a 0-terminated messsage description.
+\f5mesg\fP is a 0-terminated message description.
.Ss " void ASODISC(Asodisc_t* disc, Asoerror_f errorf);"
.PP
This function-like-macro initializes \f5disc->version = ASO_VERSION\fP, \f5disc->errorf = errorf\fP,
@@ -248,7 +248,7 @@ When supported by the hardware / compiler, the library provides the "\fBintrinsi
.Tp
\f5ASO_SIGNAL\fP:
This method type is suitable only for single-process single-thread applications.
-It can be used to provide locking between asyncronous \fBsignal\fP(2) handlers
+It can be used to provide locking between asynchronous \fBsignal\fP(2) handlers
and the main program.
The library provides the "\fBsignal\fP" method with type \f5ASO_SIGNAL\fP.
This is the default method type when \f5ASO_INTRINSIC\fP is not supported.
@@ -265,7 +265,7 @@ The \fB-ltaso\fP library provides the "\fBspin\fP" (using \fBpthread_spin_lock\f
\f5ASO_PROCESS\fP:
This method type is suitable for single-process single-thread, and multi-process applications.
Some \f5ASO_PROCESS\fP methods may also be suitable for multi-thread applications (if they have the \f5ASO_THREAD\fP type.)
-These methods are typically and noticably \fIslow\fP, up to 2 orders of magnitude slower than
+These methods are typically and noticeably \fIslow\fP, up to 2 orders of magnitude slower than
\f5ASO_INTRINSIC\fP for some applications.
They are provided as a last resort when other methods are not available.
The library provides the "\fBsemaphore\fP" method with type \f5ASO_PROCESS|ASO_THREAD|ASO_SIGNAL\fP
@@ -343,7 +343,7 @@ Unlike other \fIAST\fP library discipline/method functions which can instantiate
multiple discpline/method handles within a single process, the \fIASO\fP
library allows only one discipline and method to be set at a time, with the additional
restriction that it may only be set by the main and only thread of the calling process.
-For this reason there is no open/close interface with an instantation handle;
+For this reason there is no open/close interface with an instantiation handle;
instead the global discipline/method is simply initialized by \f5asoinit()\fP.
\f5ASO_THREAD\fP and \f5ASO_PROCESS\fP methods rely on the \f5Asometh_t.lockf()\fP
diff --git a/src/lib/libast/man/compat.3 b/src/lib/libast/man/compat.3
index eb5e8a7b..7dfa73e3 100644
--- a/src/lib/libast/man/compat.3
+++ b/src/lib/libast/man/compat.3
@@ -100,4 +100,4 @@ and then call
.L foo
you may end up with the local implementation of
.LR foo ,
-and then you get what you payed for.
+and then you get what you paid for.
diff --git a/src/lib/libast/man/hash.3 b/src/lib/libast/man/hash.3
index 162d62d7..dbed3d0e 100644
--- a/src/lib/libast/man/hash.3
+++ b/src/lib/libast/man/hash.3
@@ -525,7 +525,7 @@ must be called to terminate the scan.
is returned on error.
.TP
.L "Hash_bucket_t* hashnext(Hash_position_t* pos)"
-Returnes a pointer to the next bucket in the sequential scan set up by
+Returns a pointer to the next bucket in the sequential scan set up by
.L hashscan()
on
.LR pos .
diff --git a/src/lib/libast/man/magic.3 b/src/lib/libast/man/magic.3
index e8bf0e32..78d73f7d 100644
--- a/src/lib/libast/man/magic.3
+++ b/src/lib/libast/man/magic.3
@@ -139,7 +139,7 @@ on
.IR st .
.L magictype
always returns a non-null string.
-If errors are encounterd on
+If errors are encountered on
.I path
then the return value will contain information on those errors, e.g.,
.LR "cannot stat" .
@@ -431,7 +431,7 @@ The
field is the most important because it is this field that is presented
to the outside world.
When constructing description
-fields one must be very careful to follow the style layed out in the
+fields one must be very careful to follow the style laid out in the
magic file, lest yet another layer of inconsistency creep into the system.
The description for each matching record in an entry are concatenated
to form the complete magic type.
diff --git a/src/lib/libast/man/mime.3 b/src/lib/libast/man/mime.3
index f540b2e3..7002ccb3 100644
--- a/src/lib/libast/man/mime.3
+++ b/src/lib/libast/man/mime.3
@@ -109,7 +109,7 @@ returns the type string for
.IR path .
.L mimetype
always returns a non-null string.
-If errors are encounterd on
+If errors are encountered on
.I path
then the return value will be
.LR "error" .
diff --git a/src/lib/libast/man/path.3 b/src/lib/libast/man/path.3
index 8721888b..4eba7027 100644
--- a/src/lib/libast/man/path.3
+++ b/src/lib/libast/man/path.3
@@ -291,7 +291,7 @@ specific
.IR probe (1)
information file for the
.I lang
-langauge processor
+language processor
.IR proc .
If
.I "path == 0"
diff --git a/src/lib/libast/man/preroot.3 b/src/lib/libast/man/preroot.3
index 025fc221..c0706d27 100644
--- a/src/lib/libast/man/preroot.3
+++ b/src/lib/libast/man/preroot.3
@@ -58,7 +58,7 @@ All pathnames rooted at
.L /
are first searched for in the process preroot directory
and then in the system root directory.
-Setting the process preroot is a priveleged operation controlled by the
+Setting the process preroot is a privileged operation controlled by the
.IR /etc/preroot (1)
command.
.PP
diff --git a/src/lib/libast/man/proc.3 b/src/lib/libast/man/proc.3
index 64c1a6ef..5e747379 100644
--- a/src/lib/libast/man/proc.3
+++ b/src/lib/libast/man/proc.3
@@ -212,7 +212,7 @@ The child effective group id is set to the real group id.
Parent pipe errors are ignored.
.TP
.L PROC_OVERLAY
-The current process is overlayed by
+The current process is overlaid by
.I command
if possible
(i.e., the
diff --git a/src/lib/libast/man/sfio.3 b/src/lib/libast/man/sfio.3
index f22d0b76..29c4657d 100644
--- a/src/lib/libast/man/sfio.3
+++ b/src/lib/libast/man/sfio.3
@@ -443,7 +443,7 @@ This flag guarantees that data written in any single \f5sfwrite()\fP or
\f5sfputr()\fP call will always be output as a whole to the output device.
This is useful in certain applications (e.g., networking) where a complex object
must be output without being split in different system calls.
-Note that the respective stream still buffers data as much as the buffer can accomodate.
+Note that the respective stream still buffers data as much as the buffer can accommodate.
.Tp
\f5SF_MTSAFE\fP:
This flag indicates that the respective stream may be accessed by more than one threads.
@@ -692,7 +692,7 @@ As with \f5SFMTX_LOCK\fP,
an attempt to clear the lock count without a previously successful lock
may result in undefined behavior.
.PP
-.Ss "INPUT/OUPUT OPERATIONS"
+.Ss "INPUT/OUTPUT OPERATIONS"
.PP
.Ss " int sfgetc(Sfio_t* f)"
.Ss " int sfputc(Sfio_t* f, int c)"
@@ -903,7 +903,7 @@ If \f5n > 0\fP, the stream I/O position is advanced by \f5n\fP.
If \f5n < 0\fP, the stream I/O position is advanced by the amount
of available data.
For example, a successful \f5sfreserve(f, -1, -1)\fP call will return a
-buffer of data and simultanously advance the stream I/O position by the amount
+buffer of data and simultaneously advance the stream I/O position by the amount
indicated by \f5sfvalue(f)\fP.
.Tp
\f5type == SF_LOCKR\fP:
@@ -1008,7 +1008,7 @@ can be modified by this function to redirect formatting or scanning.
For example, consider a call from a \f5sfprintf()\fP function to process an
unknown pattern \f5%t\fP (which we may take to mean ``time'') based on a
formatting environment \f5fe\fP.
-\f5fe->extf\fP may reset \f5fe->fmt\fP to `\f5d\fP' upon returing
+\f5fe->extf\fP may reset \f5fe->fmt\fP to `\f5d\fP' upon returning
to cause \f5sfprintf()\fP to process the value being formatted as an integer.
Below are the fields of \f5Sffmt_t\fP:
diff --git a/src/lib/libast/man/vmalloc.3 b/src/lib/libast/man/vmalloc.3
index 253e283e..a925a55a 100644
--- a/src/lib/libast/man/vmalloc.3
+++ b/src/lib/libast/man/vmalloc.3
@@ -235,7 +235,7 @@ Additional space will be set to zero.
is similar to \fIvmnewof\fP but it neither copies data nor clears space.
.PP
.I vmgetmem
-provides a handy function to creat/close regions and allocate/free memory
+provides a handy function to create/close regions and allocate/free memory
based on chunks of memory obtained from the heap region \fIVmheap\fP.
.TP
.MW "vmgetmem(0,0,0)"
@@ -530,7 +530,7 @@ A \f5Vmstat_t\fP structure has at least these members:
.fi
.in -.5i
.PP
-Bookeeping overhead is counted in \f5extent\fP,
+Bookkeeping overhead is counted in \f5extent\fP,
but not in \f5s_busy\fP or \f5s_free\fP.
.PP
.I vmtrace
diff --git a/src/lib/libcmd/RELEASE b/src/lib/libcmd/RELEASE
index 93cc198b..8bec54e4 100644
--- a/src/lib/libcmd/RELEASE
+++ b/src/lib/libcmd/RELEASE
@@ -15,9 +15,9 @@
11-01-27 date: add { -R, --rfc-2822, -T, --rfc-3339=type }
11-01-03 chgrp.c: --symlink => --physical
10-12-10 rm.c: fix not-writable logic
-10-12-01 tee.c: add iterrupt logic for slow open(1) -- needs to be generalized
+10-12-01 tee.c: add interrupt logic for slow open(1) -- needs to be generalized
10-11-30 chgrp.c: add -N,--numeric to bypass name lookup
-10-10-20 cp: add --timestamps (preserv timestamps and permissions)
+10-10-20 cp: add --timestamps (preserve timestamps and permissions)
10-10-20 ln: fix 'cannot replace existing file' logic
10-10-10 cp,mv: add --remove-destination
10-08-11 cp.c,expr.c: use conformance("standard",0) test
@@ -89,7 +89,7 @@
08-04-01 cut.c: add write error check
08-04-01 paste.c: fix --noserial stream vector access bug
08-04-01 pids.c: add ls/ps style --format=format
-08-04-01 stty.c: fix off2 unitialized reference
+08-04-01 stty.c: fix off2 uninitialized reference
08-03-28 chgrp.c: add --before=file
08-03-14 pids.c: add
08-03-11 chgrp.c: fix -m to use uid:gid as lookup key
@@ -133,12 +133,12 @@
06-11-15 cp.c: fix 06-10-31 ln -s enoent bug
06-11-11 getconf.c: let astconf() handle "undefined" vs. ""
06-11-11 getconf.c: fix deferred getconf path search
-06-11-11 fmt.c: handle two char { \t \n } in --usage ouput
+06-11-11 fmt.c: handle two char { \t \n } in --usage output
06-10-31 global edit to eliminate most non-const static data0
06-10-31 use for all b_*() implementations; drop
06-10-31 cmd.h: add CMD_ prefix to { BUILTIN DYNAMIC STANDALONE }
06-10-31 join.c: tone down /tmp usage vi SFSK_DISCARD
-06-10-31 cp.c,rm.c: update to to accomodate non-static data
+06-10-31 cp.c,rm.c: update to to accommodate non-static data
06-10-29 date.c: "...%H%..." => "...%H" "%..." to avoid SCCS conflict
06-10-26 fds.c: handle sctp
06-10-18 tail.c: fix invalid suffix infinite loop
@@ -266,7 +266,7 @@
cat: fix -n (was ignored, wow)
00-01-27 getconf: add "-a" and "-v spec" for sol7.* compatibility
99-09-09 join: fix -j1 vs. -j 1, add --ignorecase
-99-06-22 paste: defualt delim in writable string
+99-06-22 paste: default delim in writable string
99-06-16 cat: fix --dos-ouput typo
99-06-11 cp: tighten chown() diagnostics
99-06-08 expr: nothing for NULL string bug fix
diff --git a/src/lib/libcmd/chmod.c b/src/lib/libcmd/chmod.c
index beaab672..5aad3096 100644
--- a/src/lib/libcmd/chmod.c
+++ b/src/lib/libcmd/chmod.c
@@ -36,7 +36,7 @@ USAGE_LICENSE
"of changes to make, or an octal number representing the bit "
"pattern for the new permissions.]"
"[+?Symbolic mode strings consist of one or more comma separated list "
- "of operations that can be perfomed on the mode. Each operation is of "
+ "of operations that can be performed on the mode. Each operation is of "
"the form \auser\a \aop\a \aperm\a where \auser\a is zero or more of "
"the following letters:]{"
"[+u?User permission bits.]"
diff --git a/src/lib/libcmd/head.c b/src/lib/libcmd/head.c
index 426e7db8..e5b756df 100644
--- a/src/lib/libcmd/head.c
+++ b/src/lib/libcmd/head.c
@@ -50,10 +50,10 @@ USAGE_LICENSE
"\anumber\a.]"
"[n:lines?Copy \alines\a lines from each file.]#[lines:=10]"
"[c:bytes?Copy \achars\a bytes from each file.]#[chars]"
-"[q:quiet|silent?Never ouput filename headers.]"
+"[q:quiet|silent?Never output filename headers.]"
"[s:skip?Skip \askip\a characters or lines from each file before "
"copying.]#[skip]"
-"[v:verbose?Always ouput filename headers.]"
+"[v:verbose?Always output filename headers.]"
"\n\n"
"[ file ... ]"
"\n\n"
diff --git a/src/lib/libcmd/mktemp.c b/src/lib/libcmd/mktemp.c
index d95f8646..ce755040 100644
--- a/src/lib/libcmd/mktemp.c
+++ b/src/lib/libcmd/mktemp.c
@@ -35,7 +35,7 @@ USAGE_LICENSE
"[+*?Lower case to avoid clashes on case ignorant filesystems.]"
"[+*?Pseudo-random part to deter denial of service attacks.]"
"[+*?Default pseudo-random part (no specific \bX...\b template) "
- "formatted to accomodate 8.3 filesystems.]"
+ "formatted to accommodate 8.3 filesystems.]"
"}"
"[+?A consecutive trailing sequence of \bX\b's in \aprefix\a is replaced "
"by the pseudo-random part. If there are no \bX\b's then the "
diff --git a/src/lib/libcmd/tail.c b/src/lib/libcmd/tail.c
index c8df4ba3..5f26fcd9 100644
--- a/src/lib/libcmd/tail.c
+++ b/src/lib/libcmd/tail.c
@@ -64,7 +64,7 @@ USAGE_LICENSE
"[h!:headers?Output filename headers.]"
"[l:lines?Copy units of lines. This is the default.]"
"[L:log?When a \b--forever\b file times out via \b--timeout\b, verify that "
- "the curent file has not been renamed and replaced by another file "
+ "the current file has not been renamed and replaced by another file "
"of the same name (a common log file practice) before giving up on "
"the file.]"
"[q:quiet?Don't output filename headers. For GNU compatibility.]"
@@ -86,7 +86,7 @@ USAGE_LICENSE
"[+y?years]"
"[+S?scores]"
"}"
-"[v:verbose?Always ouput filename headers.]"
+"[v:verbose?Always output filename headers.]"
"\n"
"\n[file ...]\n"
diff --git a/src/lib/libcmd/uname.c b/src/lib/libcmd/uname.c
index cece94ac..a295a757 100644
--- a/src/lib/libcmd/uname.c
+++ b/src/lib/libcmd/uname.c
@@ -35,7 +35,7 @@ USAGE_LICENSE
" standard output. When options are specified, one or more"
" system characteristics are written to standard output, space"
" separated, on a single line. When more than one option is specified"
-" the output is in the order specfied by the \b-A\b option below."
+" the output is in the order specified by the \b-A\b option below."
" Unsupported option values are listed as \a[option]]\a. If any unknown"
" options are specified then the local \b/usr/bin/uname\b is called.]"
"[+?If any \aname\a operands are specified then the \bsysinfo\b(2) values"
diff --git a/src/lib/libcoshell/coshell.3 b/src/lib/libcoshell/coshell.3
index b0a1201d..7937b01c 100644
--- a/src/lib/libcoshell/coshell.3
+++ b/src/lib/libcoshell/coshell.3
@@ -88,7 +88,7 @@ Enable library debug tracing.
.TP
.L CO_IGNORE
Ignore any command errors.
-By default any command error that is not tested by a condtional causes
+By default any command error that is not tested by a conditional causes
the job to terminate.
.TP
.L CO_LOCAL
@@ -363,7 +363,7 @@ and copies the result into the sfio stream
.L sp.
If
.L type!=0
-then any occurence of \f5/\fP\fIhosttype\fP\f5/\fP is translated to
+then any occurrence of \f5/\fP\fIhosttype\fP\f5/\fP is translated to
\f5/$HOSTTYPE/\fP, where
.I hosttype
is the current value of the