Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: Fix miscellaneous typo/spelling errors in the yodl doc



There was a spelling error on the line touting zsh's builtin spelling
correction.  Horrors!

This probably requires my previous documentation patches, although most
of it might apply with offsets.

Index: Doc/Zsh/builtins.yo
===================================================================
--- builtins.yo	1998/06/14 23:11:44	1.3
+++ builtins.yo	1998/06/20 01:23:33
@@ -117,7 +117,7 @@
 If the tt(PUSHD_MINUS) option is set, the meanings of `tt(PLUS())'
 and `tt(-)' in this context are swapped.
 
-If the tt(-s) option is specified, tt(cd) will refuse change the currect
+If the tt(-s) option is specified, tt(cd) refuses to change the current
 directory if the given pathname contains symlinks.  If the tt(-P) option
 is given or the tt(CHASE_LINKS) option is set, symbolic links are resolved
 to their true values.  If the tt(-L) option is given symbolic links are
@@ -231,7 +231,7 @@
 The tt(-a) option causes tt(enable) to act on aliases.  The tt(-f)
 option causes tt(enable) to act on shell functions.  The tt(-r)
 option causes tt(enable) to act on reserved words.  Without arguments
-all enable hash table elememts from the corresponding hash table are
+all enabled hash table elements from the corresponding hash table are
 printed.  With the tt(-m) flag the arguments are taken as patterns
 (should be quoted) and all hash table elements from the corresponding
 hash table matching these patterns are enabled.  Enabled objects can be
@@ -1121,7 +1121,7 @@
 unloaded (or was never loaded).
 
 Each module has a boot and a cleanup function.  The module
-will not be loaded if its boot function fails.  Similarily a module
+will not be loaded if its boot function fails.  Similarly a module
 can only be unloaded if its cleanup function runs successfully.
 
 Without arguments all currently loaded binary modules are printed.
Index: Doc/Zsh/compat.yo
===================================================================
--- compat.yo	1998/06/01 17:08:42	1.1.1.1
+++ compat.yo	1998/06/20 01:07:54
@@ -28,7 +28,7 @@
 tt(status),
 tt(watch).
 
-The usual zsh starup/shutdown scripts are not executed.  Login shells
+The usual zsh startup/shutdown scripts are not executed.  Login shells
 source tt(/etc/profile) followed by tt($HOME/.profile).  If the
 tt(ENV) environment variable is set on invocation, tt($ENV) is sourced
 after the profile scripts.  The value of tt(ENV) is subjected to
Index: Doc/Zsh/expn.yo
===================================================================
--- expn.yo	1998/06/14 23:12:42	1.3
+++ expn.yo	1998/06/20 00:01:44
@@ -16,13 +16,13 @@
 list(em(filename generation))
 endlist()
 
-Exansion is done in the above specified order in five steps.  The
+Expansion is done in the above specified order in five steps.  The
 first is em(history expansion), which is only performed in
 interactive shells.  The next step is em(alias expansion), which is
 done right before the command line is parsed.  They are followed by
 em(process substitution), em(parameter expansion), em(command
 substitution), em(arithmetic expansion) and em(brace expansion)
-which are preformed in one step in left-to-right fashion.  After
+which are performed in one step in left-to-right fashion.  After
 these expansions, all unquoted occurrences of the characters `tt(\)',
 `tt(')' and `tt(")' are removed, and the result is subjected to
 em(filename expansion) followed by em(filename generation).
@@ -471,7 +471,7 @@
 )
 item(tt(@))(
 In double quotes, array elements are put into separate words.
-Eg. `tt("${(@)foo}")' is equivalent to `tt("${foo[@]}")' and
+E.g., `tt("${(@)foo}")' is equivalent to `tt("${foo[@]}")' and
 `tt("${(@)foo[1,2]}")' is the same as `tt("$foo[1]" "$foo[2]")'.
 )
 item(tt(e))(
@@ -973,7 +973,7 @@
 pindex(MARK_DIRS, setting in pattern)
 )
 item(tt(T))(
-appends a traling qualifier mark to the file names, analogous to the
+appends a trailing qualifier mark to the file names, analogous to the
 tt(LIST_TYPES) option, for the current pattern (overrides tt(M))
 )
 item(tt(N))(
Index: Doc/Zsh/grammar.yo
===================================================================
--- grammar.yo	1998/06/14 23:13:04	1.2
+++ grammar.yo	1998/06/20 01:11:14
@@ -323,7 +323,7 @@
 string by using the `tt(\')' escape.
 
 All characters enclosed between a pair of single quotes (tt('')) that
-is not preceeded by a `tt($)' are quoted.  A single quote cannot appear
+is not preceded by a `tt($)' are quoted.  A single quote cannot appear
 within single quotes.
 
 Inside double quotes (tt("")), parameter and
Index: Doc/Zsh/intro.yo
===================================================================
--- intro.yo	1998/06/01 17:08:42	1.1.1.1
+++ intro.yo	1998/06/20 01:12:19
@@ -31,7 +31,7 @@
 Zsh is a UNIX command interpreter (shell) usable as an interactive
 login shell and as a shell script command processor.  Of the standard shells,
 zsh most closely resembles bf(ksh) but includes many enhancements.  Zsh
-has comand line editing, builtin spelling correction, programmable
+has command line editing, builtin spelling correction, programmable
 command completion, shell functions (with autoloading), a history
 mechanism, and a host of other features.
 includefile(Zsh/metafaq.yo)
Index: Doc/Zsh/options.yo
===================================================================
--- options.yo	1998/06/12 08:29:38	1.2
+++ options.yo	1998/06/20 01:16:23
@@ -195,7 +195,7 @@
 )
 pindex(CLOBBER)
 cindex(clobbering, of files)
-cindex(file cobbering, allowing)
+cindex(file clobbering, allowing)
 item(tt(CLOBBER) (tt(PLUS()C), ksh: tt(PLUS()C)))(
 Allows `tt(>)' redirection to truncate existing files,
 and `tt(>>)' to create files.
@@ -777,7 +777,7 @@
 cindex(expansion style, sh)
 item(tt(SH_FILE_EXPANSION))(
 Perform filename expansion (e.g., ~ expansion) em(before)
-parateter expansion, command substitution, arithmetic expansion
+parameter expansion, command substitution, arithmetic expansion
 and brace expansion.
 If this option is unset, it is performed em(after)
 brace expansion, so things like `tt(~$USERNAME)' and
Index: Doc/Zsh/params.yo
===================================================================
--- params.yo	1998/06/14 23:15:41	1.2
+++ params.yo	1998/06/20 01:18:37
@@ -4,7 +4,7 @@
 sect(Description)
 A parameter has a name, a value, and a number of attributes.
 A name may be any sequence of alphanumeric
-characters and undersorces, or the single characters
+characters and underscores, or the single characters
 `tt(*)', `tt(@)', `tt(#)', `tt(?)', `tt(-)', `tt($)', or `tt(!)'.
 The value may be a em(scalar) (a string),
 an integer, or an array.
@@ -688,7 +688,7 @@
 signal if a command is not entered within the specified number of
 seconds after issuing a prompt. If there is a trap on tt(SIGALRM), it
 will be executed and a new alarm is scheduled using the value of the
-tt(TMOUT) parametr after exececuting the trap.  If no trap is set, and
+tt(TMOUT) parameter after executing the trap.  If no trap is set, and
 the idle time of the terminal is not less than the value of the
 tt(TMOUT) parameter, zsh terminates.  Otherwise a new alarm is
 scheduled to tt(TMOUT) seconds after the last keypress.
@@ -796,7 +796,7 @@
 )
 vindex(WORDCHARS)
 item(tt(WORDCHARS) <S>)(
-A list of nonalphanumeric characters considered part of a word
+A list of non-alphanumeric characters considered part of a word
 by the line editor.
 )
 vindex(ZDOTDIR)
Index: Doc/Zsh/restricted.yo
===================================================================
--- restricted.yo	1998/06/01 17:08:43	1.1.1.1
+++ restricted.yo	1998/06/20 01:19:21
@@ -38,7 +38,7 @@
 which can be safely invoked in the restricted environment.  They may also
 add further restrictions by disabling selected builtins.
 
-Resctricted mode can also be activated any time by setting the
+Restricted mode can also be activated any time by setting the
 tt(RESTRICTED) option.  This immediately enables all the restrictions
 described above even if the shell still have not processed all startup
 files.
Index: Doc/Zsh/zle.yo
===================================================================
--- zle.yo	1998/06/14 23:16:15	1.3
+++ zle.yo	1998/06/20 01:20:35
@@ -54,7 +54,7 @@
 tt(bindkey)'s tt(-e) and tt(-v)
 options provide a convenient way to override this default choice.
 
-When the eitor starts up, it will select the `tt(main)' keymap.
+When the editor starts up, it will select the `tt(main)' keymap.
 If that keymap doesn't exist, it will use `tt(.safe)' instead.
 
 In the `tt(.safe)' keymap, each single key is bound to tt(self-insert),
@@ -815,7 +815,7 @@
 )
 tindex(expand-or-complete-prefix)
 item(tt(expand-or-complete-prefix))(
-Attempt shell expansion on the current word upto cursor.
+Attempt shell expansion on the current word up to cursor.
 )
 tindex(expand-history)
 item(tt(expand-history) (ESC-space ESC-!) (unbound) (unbound))(

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com



Messages sorted by: Reverse Date, Date, Thread, Author