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

[PATCH] more documentation typos

Here are some more typo fixes in Etc/, Functions/, NEWS and README.

- M.

modernish -- harness the shell
diff --git a/Etc/FAQ.yo b/Etc/FAQ.yo
index a9ce754b5..cf4348cbe 100644
--- a/Etc/FAQ.yo
+++ b/Etc/FAQ.yo
@@ -1390,7 +1390,7 @@ sect(Why do my autoloaded functions not autoload [the first time]?)
   redefine the function when you called it.
   From version 3.1, there is an option tt(KSH_AUTOLOAD) to allow full ksh
-  compatiblity, i.e. the function myem(must) be in the second form
+  compatibility, i.e. the function myem(must) be in the second form
   above.  If that is not set, zsh tries to guess which form you are
   using:  if the file contains only a complete definition of the
   function in the second form, and nothing else apart from comments
@@ -1936,7 +1936,7 @@ label(327)
      operator.  As the mytt(**) operator cannot be grouped (inside
      parentheses it is treated as mytt(*)), this is one way to exclude some
      subdirectories from matching a mytt(**).  Note that this can be quite
-     inefficent because the shell performs a complete search for
+     inefficient because the shell performs a complete search for
      mytt(**/foo) before it uses the pattern after the mytt(~) to exclude
      files from the match.  The file is excluded if mytt(bar) occurs
      em(anywhere), in any directory segment or the final file name.
@@ -2483,7 +2483,7 @@ label(52)
   tt(unsubscribe) to unsubscribe.  The mailing software (tt(ezlm)) has
   various bells and whistles: you can retrieve archived messages.
   Mail email(zsh-workers-help@xxxxxxx) for detailed information.
-  Adminstrative matters are best sent to
+  Administrative matters are best sent to
   real name is email(Geoff Wing <gcw@xxxxxxx>).
diff --git a/Etc/zsh-development-guide b/Etc/zsh-development-guide
index ecbd3c081..cbada7de9 100644
--- a/Etc/zsh-development-guide
+++ b/Etc/zsh-development-guide
@@ -891,7 +891,7 @@ The wrapper function should be defined like:
 The first two arguments should only be used to pass them to
 `runshfunc()' which will execute the shell function. The last argument 
 is the name of the function to be executed. The arguments passed to
-the function can be accessed vie the global variable `pparams' (a
+the function can be accessed via the global variable `pparams' (a
 NULL-terminated array of strings).
 The return value of the wrapper function should be zero if it calls
diff --git a/Functions/Prompts/prompt_oliver_setup b/Functions/Prompts/prompt_oliver_setup
index 979411d4b..2df919950 100644
--- a/Functions/Prompts/prompt_oliver_setup
+++ b/Functions/Prompts/prompt_oliver_setup
@@ -5,7 +5,7 @@ prompt_oliver_help() {
 With this prompt theme, the prompt contains the current directory,
 history number, number of jobs (if non-zero) and the previous
 command's exit code (if non-zero) and a final character which
-depends on priviledges.
+depends on privileges.
 The colour of the prompt depends on two associative arrays -
 $pcolour and $tcolour. Each array is indexed by the name of the
diff --git a/Functions/Zle/insert-composed-char b/Functions/Zle/insert-composed-char
index c0922e7d4..636895a89 100644
--- a/Functions/Zle/insert-composed-char
+++ b/Functions/Zle/insert-composed-char
@@ -27,7 +27,7 @@
 #  '   Acute
 #  >   Circumflex
 #  ?   Tilde
-#  -   Macron.  (A horizonal bar over the letter.)
+#  -   Macron.  (A horizontal bar over the letter.)
 #  (   Breve.  (A shallow dish shape over the letter.)
 #  .   Dot above, or no dot with lower case i, or dot in the middle of L or l.
 #  :   Diaeresis (Umlaut)
@@ -43,7 +43,7 @@
 #  9   Horn
 # Hence A! is upper case A with a grave, c, is lower case c with cedilla.
-# Some other composed charaters:
+# Some other composed characters:
 # Various ligatures:
 #  AE ae OE oe IJ ij
diff --git a/NEWS b/NEWS
index f0b23b9f2..c1322ed0f 100644
--- a/NEWS
+++ b/NEWS
@@ -547,7 +547,7 @@ Expansion (parameters, globbing, etc.) and redirection
   calculated by the (l) and (r) flags or the # operator should take
   account of the printing width of characters in multibyte mode, whether
   0, 1 or more.  (mm) causes printing characters to count as 1 and
-  non-printing chracters to count as 0.
+  non-printing characters to count as 0.
 - The parameter substitution flag (q-) picks the most minimal way of
   quoting the parameter words, to make the result as readable as possible.
diff --git a/README b/README
index 7ece48183..2dd82b61f 100644
--- a/README
+++ b/README
@@ -204,7 +204,7 @@ of this change is that variables that should have active ranges need
   [[ b = [${~cset}] ]]
 The "~" causes the "-" character to be active.  In sh emulation the
-"~" is unncessary in this example and double quotes must be used to
+"~" is unnecessary in this example and double quotes must be used to
 suppress the range behaviour of the "-".
 2) The first argument to 'repeat' is now evaluated as an arithmetic
@@ -217,7 +217,7 @@ leading zeroes and the OCTAL_ZEROES option is set.
 3) For some time the shell has had a POSIX_TRAPS option which determines
 whether the EXIT trap has POSIX behaviour (the trap is only run at shell
 exit) or traditional zsh behaviour (the trap is run once and discarded
-when the enclosing fuction or shell exits, whichever happens first).
+when the enclosing function or shell exits, whichever happens first).
 The use of this option has now been made "sticky" on the EXIT trap ---
 in other words, the setting of the option at the point where the trap is
 set now determines whether the trap has POSIX or traditional zsh
@@ -344,7 +344,7 @@ can be used with both assoiative arrays and normal arrays.  In the
 unlikely event that you wish to create an array with an entry
 matching a file whose name consists of one of a range of characters
 matched as a [...] expression, followed by an equal sign, followed
-by arbitrary other charaters, it is now necessary to quote the equals
+by arbitrary other characters, it is now necessary to quote the equals
 Incompatibilites between 5.0.7 and 5.0.8
@@ -361,7 +361,7 @@ or both of the arguments were floating point.  Now, the C math
 library fmod() operator is used to implement the operation where
 one of the arguments is floating point.  For example:
-Old behavour:
+Old behaviour:
 % print $(( 5.5 % 2 ))

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