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

Typofix patch for manpages



I was bored so i ran for a (**/*.yo) {aspell -c $a} and here's what came 
out. (after pressing i many many times).

I looked up descendent/descendant, according to what i found, one is a 
noun and the other is an adjective, so i changed them. If you know this to 
be wrong, ignore those hunks.

There is also this:
% grep programme **/*.yo|wc -l
12
% grep program\  **/*.yo|wc -l
11

I can send a patch to make it consistent, but which do you prefer?

diff --git a/Doc/Zsh/builtins.yo b/Doc/Zsh/builtins.yo
index 68f6145..d7e3526 100644
--- a/Doc/Zsh/builtins.yo
+++ b/Doc/Zsh/builtins.yo
@@ -1613,7 +1613,7 @@ unit is printed before each value.

 When looping over multiple resources, the shell will abort immediately if
 it detects a badly formed argument.  However, if it fails to set a limit
-for some other reson it will continue trying to set the remaining limits.
+for some other reason it will continue trying to set the remaining limits.

 startsitem()
 sitem(tt(-a))(Lists all of the current resource limits.)
diff --git a/Doc/Zsh/calsys.yo b/Doc/Zsh/calsys.yo
index 8758b11..934746f 100644
--- a/Doc/Zsh/calsys.yo
+++ b/Doc/Zsh/calsys.yo
@@ -382,7 +382,7 @@ as a tt(start) time.
 item(tt(-s))(
 Use the shell's tt(sched) command to schedule a timed event that
 will warn the user when an event is due.  Note that the tt(sched) command
-only runs if the shell is at an interactive prompt; a foreground taks
+only runs if the shell is at an interactive prompt; a foreground task
 blocks the scheduled task from running until it is finished.

 The timed event usually runs the programme tt(calendar_show) to show
diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo
index 59be912..78a3135 100644
--- a/Doc/Zsh/compsys.yo
+++ b/Doc/Zsh/compsys.yo
@@ -1242,7 +1242,7 @@ For these commands a tt(-) is used to introduce a directory stack entry
 and completion of these is far more common than completing options.
 Hence unless the value of this style is true options will not be
 completed, even after an initial tt(-).  If it is true, options will
-be completed after an initial tt(-) unless there is a preceeding
+be completed after an initial tt(-) unless there is a preceding
 tt(-)tt(-) on the command line.
 )
 kindex(completer, completion style)
diff --git a/Doc/Zsh/func.yo b/Doc/Zsh/func.yo
index 1bdf169..6b62028 100644
--- a/Doc/Zsh/func.yo
+++ b/Doc/Zsh/func.yo
@@ -189,7 +189,7 @@ findex(precmd)
 vindex(precmd_functions)
 item(tt(precmd))(
 Executed before each prompt.  Note that precommand functions are not
-reexecuted simply because the command line is redrawn, as happens, for
+re-executed simply because the command line is redrawn, as happens, for
 example, when a notification about an exiting job is displayed.
 )
 findex(preexec)
diff --git a/Doc/Zsh/grammar.yo b/Doc/Zsh/grammar.yo
index fb07a63..ff8e665 100644
--- a/Doc/Zsh/grammar.yo
+++ b/Doc/Zsh/grammar.yo
@@ -452,7 +452,7 @@ sect(Comments)
 cindex(comments)
 pindex(INTERACTIVE_COMMENTS, use of)
 vindex(histchars, use of)
-In noninteractive shells, or in interactive shells with the
+In non-interactive shells, or in interactive shells with the
 tt(INTERACTIVE_COMMENTS) option set, a word beginning
 with the third character of the tt(histchars) parameter
 (`tt(#)' by default) causes that word and all the following
diff --git a/Doc/Zsh/mod_zprof.yo b/Doc/Zsh/mod_zprof.yo
index 7d8b7bc..cab66de 100644
--- a/Doc/Zsh/mod_zprof.yo
+++ b/Doc/Zsh/mod_zprof.yo
@@ -21,16 +21,16 @@ the number of the function in order, which is used in
 other parts of the list in suffixes of the form
 `tt([)var(num)tt(])'), then the number of calls made to the function.
 The next three columns list the time in
-milliseconds spent in the function and its descendents, the average
-time in milliseconds spent in the function and its descendents per
+milliseconds spent in the function and its descendants, the average
+time in milliseconds spent in the function and its descendants per
 call and the percentage of time spent in all shell functions used in
-this function and its descendents.  The following three columns give
+this function and its descendants.  The following three columns give
 the same information, but counting only the time spent in the function
 itself.  The final column shows the name of the function.

 After the summary, detailed information about every function that was
 invoked is listed, sorted in decreasing order of the amount of time spent
-in each function and its descendents.  Each of these entries consists of
+in each function and its descendants.  Each of these entries consists of
 descriptions for the functions that called the function described, the
 function itself, and the functions that were called from it.  The
 description for the function itself has the same format as in the summary
@@ -42,10 +42,10 @@ the section from the surrounding lines.
 The information shown in this case is almost the same as in the summary,
 but only refers to the call hierarchy being displayed.  For example, for a
 calling function the column showing the total running time lists the time
-spent in the described function and its descendents only for the times when
+spent in the described function and its descendants only for the times when
 it was called from that particular calling function.  Likewise, for a
 called function, this columns lists the total time spent in the called
-function and its descendents only for the times when it was called from the
+function and its descendants only for the times when it was called from the
 function described.

 Also in this case, the column showing the number of calls to a function
diff --git a/Doc/Zsh/options.yo b/Doc/Zsh/options.yo
index c0a3f65..e2e36dc 100644
--- a/Doc/Zsh/options.yo
+++ b/Doc/Zsh/options.yo
@@ -440,7 +440,7 @@ pattern matching, parameter values and various delimiters.
 The option is on by default if the shell was compiled with
 tt(MULTIBYTE_SUPPORT) except in tt(sh) emulation; otherwise it is off by
 default and has no effect if turned on.  The mode is off in tt(sh)
-emulation for compatibility but for interative use may need to be
+emulation for compatibility but for interactive use may need to be
 turned on if the terminal interprets multibyte characters.

 If the option is off a single byte is always treated as a single
@@ -1460,7 +1460,7 @@ cindex(Unicode combining characters)
 item(tt(COMBINING_CHARS))(
 Assume that the terminal displays combining characters correctly.
 Specifically, if a base alphanumeric character is followed by one or more
-zero-width punctuation characters, assume that the zero-width charaters
+zero-width punctuation characters, assume that the zero-width characters
 will be displayed as modifications to the base character within the
 same width.  Not all terminals handle this.  If this option is not
 set, zero-width characters are displayed separately with special
diff --git a/Doc/Zsh/zle.yo b/Doc/Zsh/zle.yo
index 9f2eec3..57dd020 100644
--- a/Doc/Zsh/zle.yo
+++ b/Doc/Zsh/zle.yo
@@ -34,7 +34,7 @@ ifzman(see em(Character Highlighting) below)\
 ifnzman(noderef(Character Highlighting)).  Highlighting
 of special characters and the region between the cursor and the
 mark (as set with tt(set-mark-command) in Emacs mode) is enabled
-by default; consult this reference for more information.  Irrascible
+by default; consult this reference for more information.  Irascible
 conservatives will wish to know that all highlighting may be disabled by
 the following setting:


--
Mikael Magnusson



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