mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
Various minor capitalization and typo fixes (#371)
This commit fixes various minor typos, punctuation errors and corrects the capitalization of many names.
This commit is contained in:
parent
cd562b16e2
commit
e54001d58b
204 changed files with 779 additions and 784 deletions
|
@ -273,7 +273,7 @@ The development kit provides a portable interface
|
|||
to the C library and to libast.
|
||||
The header files in the development kit are compatible with
|
||||
K&R C<FONT SIZE=-6>[3]</FONT>,
|
||||
ANSI-C<FONT SIZE=-6>[4]</FONT>,
|
||||
ANSI C<FONT SIZE=-6>[4]</FONT>,
|
||||
and C++<FONT SIZE=-6>[5]</FONT>.
|
||||
<P>
|
||||
The best thing to do is to include the header file <TT><shell.h></TT>.
|
||||
|
@ -285,7 +285,7 @@ services for your builtins.
|
|||
The header file <TT><ast.h></TT>
|
||||
provides prototypes for many <STRONG>libast</STRONG> functions
|
||||
and all the symbol and function definitions from the
|
||||
ANSI-C headers, <TT><stddef.h></TT>,
|
||||
ANSI C headers, <TT><stddef.h></TT>,
|
||||
<TT><stdlib.h></TT>, <TT><stdarg.h></TT>, <TT><limits.h></TT>,
|
||||
and <TT><string.h></TT>.
|
||||
It also provides all the symbols and definitions for the
|
||||
|
@ -311,7 +311,7 @@ the Safe/Fast I/O library<FONT SIZE=-6>[7]</FONT>,
|
|||
to perform all I/O operations.
|
||||
The <STRONG>sfio</STRONG> library, which is part of <STRONG>libast</STRONG>,
|
||||
provides a superset of the functionality provided by the standard
|
||||
I/O library defined in ANSI-C.
|
||||
I/O library defined in ANSI C.
|
||||
If none of the additional functionality is required,
|
||||
and if you are not familiar with <STRONG>sfio</STRONG> and
|
||||
you do not want to spend the time learning it,
|
||||
|
|
|
@ -101,7 +101,7 @@ the man page for ksh93 is kept up to date.
|
|||
|
||||
The only major new interactive features are key binding and tab completion.
|
||||
Major new language features are floating point arithmetic,
|
||||
associative arrays, complete ANSI-C printf, name reference
|
||||
associative arrays, complete ANSI C printf, name reference
|
||||
variables, new expansion operators, dynamic loading of
|
||||
built-in commands, active variables, and compound variables.
|
||||
Active and compound variables allow shell variables to
|
||||
|
@ -164,7 +164,7 @@ bash compatibility mode.
|
|||
</UL>
|
||||
<LI>
|
||||
<EM>version</EM>--
|
||||
a lower-case letter signifying major release points.
|
||||
a lowercase letter signifying major release points.
|
||||
An optional <STRONG>-</STRONG> following <EM>features</EM> signifies an alpha release.
|
||||
The first stable release has no <STRONG>-</STRONG>.
|
||||
An optional <STRONG>+</STRONG> signifies a stable release with bug patches and minor enhancements.
|
||||
|
@ -180,7 +180,7 @@ in a numeric context is an integer that encodes the release
|
|||
<DT>What new features are planned for ksh?<DD>
|
||||
|
||||
We are in the early stage of planning but the likely additions
|
||||
are namespaces, ability to read xml and json object into shell variables,
|
||||
are namespaces, ability to read XML and JSON object into shell variables,
|
||||
and handling of queued signals.
|
||||
Support for multi-threading is also being considered.
|
||||
|
||||
|
@ -464,7 +464,7 @@ is to make the command a builtin. On systems in which the cmd
|
|||
library is installed, you can invoke 'builtin -f cmd mv' to make
|
||||
mv a shell builtin in which case the line length limit no longer
|
||||
applies. Another alternative is to use a for loop and invoke
|
||||
the mv command for each file, for exampe,
|
||||
the mv command for each file, for example,
|
||||
'for i in *;do mv $i ../elsewhere;done'.
|
||||
Starting with ksh93o+, a new feature was added to ksh to overcome
|
||||
this limit in some cases. If a command is preceded by
|
||||
|
@ -549,9 +549,9 @@ read x
|
|||
The $'...' string literal syntax was added to ksh93 to solve the problem
|
||||
of entering special characters in scripts.
|
||||
It uses
|
||||
ANSI-C rules to translate the string between the '...'.
|
||||
ANSI C rules to translate the string between the '...'.
|
||||
It would have been cleaner to have all "..." strings handle
|
||||
ANSI-C escapes, but that would not be backward compatible.
|
||||
ANSI C escapes, but that would not be backward compatible.
|
||||
|
||||
<DT>What is the -n option used for?<DD>
|
||||
|
||||
|
@ -773,7 +773,7 @@ or indexed, use ${!var[@]}.
|
|||
Use // instead of / for global substitution, ${var//aa/bb} will
|
||||
expand to the value of var with each "aa" replaced by "bb".
|
||||
|
||||
<DT>How can I convert %XX values to ascii?<DD>
|
||||
<DT>How can I convert %XX values to ASCII?<DD>
|
||||
|
||||
You can convert this to a sequence of ANSI C strings and then eval that
|
||||
string, for example suppose the variable 'foo' contains %XX strings, then
|
||||
|
@ -782,7 +782,7 @@ string, for example suppose the variable 'foo' contains %XX strings, then
|
|||
eval print -r -- "\$'${foo//'%'@(??)/'\x\1"'\$'"}'"
|
||||
</DIV>
|
||||
</PRE>
|
||||
will print out the string in ascii.
|
||||
will print out the string in ASCII.
|
||||
|
||||
<DT>I want to use exec to open a file. How do I prevent the script from exiting if the exec fails?<DD>
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@ In addition,
|
|||
scripts can be run on KSH-93 without modification.
|
||||
<P>
|
||||
The code should conform to the IEEE POSIX 1003.1 standard and to the
|
||||
proposed ANSI-C standard so that it should be portable to all
|
||||
proposed ANSI C standard so that it should be portable to all
|
||||
such systems.
|
||||
Like the previous version, KSH-88,
|
||||
it is designed to accept eight bit character sets
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue