about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog11
-rw-r--r--Completion/BSD/Command/_kdump2
-rw-r--r--Completion/BSD/Command/_ktrace2
-rw-r--r--Completion/Debian/Command/_aptitude2
-rw-r--r--Completion/Linux/Command/_modutils2
-rw-r--r--Completion/Linux/Command/_sysstat2
-rw-r--r--Completion/Mandriva/Command/_urpmi2
-rw-r--r--Completion/Redhat/Command/_dnf2
-rw-r--r--Completion/Unix/Command/_ansible2
-rw-r--r--Completion/Unix/Command/_gcc4
-rw-r--r--Etc/FAQ.yo4
-rw-r--r--Etc/NEWS-4.32
-rw-r--r--Functions/Chpwd/cdr2
-rw-r--r--Functions/Misc/regexp-replace2
-rw-r--r--Functions/Newuser/zsh-newuser-install2
-rw-r--r--NEWS2
-rw-r--r--Src/Zle/compmatch.c8
-rw-r--r--Src/exec.c2
-rw-r--r--Src/math.c4
-rw-r--r--Test/A01grammar.ztst2
-rw-r--r--Test/B12limit.ztst2
21 files changed, 37 insertions, 26 deletions
diff --git a/ChangeLog b/ChangeLog
index de6bbb08b..1dfe2e39a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,16 @@
 2021-11-12  Oliver Kiddle  <opk@zsh.org>
 
+	* github #82: Dimitris Apostolou: Completion/BSD/Command/_kdump,
+	Completion/Redhat/Command/_dnf, Completion/BSD/Command/_ktrace,
+	Completion/Linux/Command/_modutils, Test/A01grammar.ztst,
+	Completion/Linux/Command/_sysstat, Functions/Chpwd/cdr,
+	Completion/Unix/Command/_ansible, Completion/Unix/Command/_gcc,
+	Completion/Mandriva/Command/_urpmi, Etc/NEWS-4.3,
+	Completion/Debian/Command/_aptitude, Etc/FAQ.yo,
+	Functions/Newuser/zsh-newuser-install, NEWS,
+	Functions/Misc/regexp-replace, Src/Zle/compmatch.c,
+	Src/exec.c, Src/math.c, Test/B12limit.ztst: fix typos
+
 	* Marlon: 49572: Completion/Base/Completer/_expand,
 	Test/Y01completion.ztst: Let _expand preserve array form w/out
 	zstyle glob
diff --git a/Completion/BSD/Command/_kdump b/Completion/BSD/Command/_kdump
index 946296a75..e5c7c4cce 100644
--- a/Completion/BSD/Command/_kdump
+++ b/Completion/BSD/Command/_kdump
@@ -30,7 +30,7 @@ local args=(
   '-f+[use the specified file (- for stdin)]:dump file:_files'
   '-l[loop reading the trace file]'
   '-m+[maximum I/O bytes to display]:max data bytes:'
-  '-n[supress ad hoc translations]'
+  '-n[suppress ad hoc translations]'
   '-p+[show output only for the specified pid]: :_kdump_pid'
   '(-E    -T)-R[display relative timestamps]'
   '(-E -R   )-T[display absolute timestamps]'
diff --git a/Completion/BSD/Command/_ktrace b/Completion/BSD/Command/_ktrace
index 13c11f15d..9613ba2bf 100644
--- a/Completion/BSD/Command/_ktrace
+++ b/Completion/BSD/Command/_ktrace
@@ -4,7 +4,7 @@ local args=(
   '-a[append to the trace file]'
   '(*)-C[disable tracing on all user owned processes or all processes if executed by root]'
   '-c[clear the trace points]'
-  '-d[trace current decendants]'
+  '-d[trace current descendants]'
   '-f+[log trace to specified file]:trace file:_files'
   '(-p *)-g+[enable/disable tracing on specified process group]:pgid:_pgids'
   '-i[inherit trace flags on future children]'
diff --git a/Completion/Debian/Command/_aptitude b/Completion/Debian/Command/_aptitude
index 91d233f11..5b10adb80 100644
--- a/Completion/Debian/Command/_aptitude
+++ b/Completion/Debian/Command/_aptitude
@@ -15,7 +15,7 @@ _arguments -C \
   '(-F --display-format)'{-F,--display-format}'[specify output format for search command]:format:->format-strings' \
   '--group-by=[control how the versions command groups its output]:grouping:(archive auto none package source-package source-version)' \
   '--log-file=[specify output log file]:file:_files' \
-  '*--log-level=[specify mimimum message level to log]:level:compadd -o nosort off fatal error warn info debug trace' \
+  '*--log-level=[specify minimum message level to log]:level:compadd -o nosort off fatal error warn info debug trace' \
   '--log-resolver[set some standard log levels related to the resolver]' \
   '(--allow-new-installs)--no-new-installs[prevent safe-upgrade from installing any new packages]' \
   '(--allow-new-upgrades)--no-new-upgrades[prevent safe-upgrade from upgrading packages regardless]' \
diff --git a/Completion/Linux/Command/_modutils b/Completion/Linux/Command/_modutils
index 1205f2506..3e46130a2 100644
--- a/Completion/Linux/Command/_modutils
+++ b/Completion/Linux/Command/_modutils
@@ -105,7 +105,7 @@ _modutils() {
     loaded-modules|loadable-modules)
       if [[ -r /proc/modules ]]; then
 	loaded_modules=(${${(f)"$(</proc/modules)"}%% *})
-      # For compatibilty with old systems. Kernels nowadays provide
+      # For compatibility with old systems. Kernels nowadays provide
       # `/proc/modules` which is more reliable and faster for us.
       elif [[ -x /sbin/lsmod ]]; then
 	loaded_modules=(${${(f)"$(_call_program loaded-modules /sbin/lsmod)"}[2,-1]%% *})
diff --git a/Completion/Linux/Command/_sysstat b/Completion/Linux/Command/_sysstat
index eba99fc5a..5620da73d 100644
--- a/Completion/Linux/Command/_sysstat
+++ b/Completion/Linux/Command/_sysstat
@@ -52,7 +52,7 @@ _sadf() {
       '(-g -j -p -r -x)-h[print on a single line when used with -d]' \
       '-O[specify output options]: : _values -s , option
         autoscale bwcol customcol height\:value oneday packed showidle showinfo showtoc skipempty hz\:value pcparchive\:name\:_files debug' \
-      '-P[restrict processor dependant statistics]:processor number(zero indexed) or ALL:(ALL)' \
+      '-P[restrict processor dependent statistics]:processor number(zero indexed) or ALL:(ALL)' \
       '--dev=-[specify block devices for which statistics are to be displayed]:block device:_files -g "*(-%)"' \
       '--fs=-[specify filesystems for which statistics are to be displayed]:file system:_dir_list -s ,' \
       '--iface=-[specify network interfaces for which statistics are to be displayed]:network interface:_sequence _net_interfaces' \
diff --git a/Completion/Mandriva/Command/_urpmi b/Completion/Mandriva/Command/_urpmi
index be6350129..21c44ffaa 100644
--- a/Completion/Mandriva/Command/_urpmi
+++ b/Completion/Mandriva/Command/_urpmi
@@ -131,7 +131,7 @@ _urpmi() {
 	"($help --no-probe --probe-hdlist)--probe-synthesis[try to find and use synthesis file]" \
 	"($help)--update[mark as update media]" \
 	"($help)--version[use specified distribution version]:Mandrake version: " \
-	"($help)--virtual[create virtual media wich are always up-to-date]" \
+	"($help)--virtual[create virtual media which are always up-to-date]" \
 	"($help)-c[clean headers cache directory]" \
 	"($help)-f[force generation of hdlist files]" \
 	"($help --distrib):name of media: " \
diff --git a/Completion/Redhat/Command/_dnf b/Completion/Redhat/Command/_dnf
index 174788ec6..ce111f38f 100644
--- a/Completion/Redhat/Command/_dnf
+++ b/Completion/Redhat/Command/_dnf
@@ -345,7 +345,7 @@ _dnf_command() {
         ;;
       clean)
         tmp=(
-          'dbcache:remove chache files generated from the repository metadata'
+          'dbcache:remove cache files generated from the repository metadata'
           'expire-cache:mark the repository metadata expired'
           'metadata:remove the repository metadata'
           'packages:remove any cached packages'
diff --git a/Completion/Unix/Command/_ansible b/Completion/Unix/Command/_ansible
index 785ae45d0..2d976b0a0 100644
--- a/Completion/Unix/Command/_ansible
+++ b/Completion/Unix/Command/_ansible
@@ -358,7 +358,7 @@ case $state in
           '(-p --collections-path)'{-p+,--collections-path=}'[specify directory containing collections]:_directories'
           '(-r --requirements-file *)'{-r+,--requirements-file=}'[specify file containing a list of collections to install]:file:_files'
           '--pre[include pre-release versions]'
-          '*:collecion name:_files'
+          '*:collection name:_files'
         )
       ;;
     esac
diff --git a/Completion/Unix/Command/_gcc b/Completion/Unix/Command/_gcc
index b6f1da2c6..ac0e8fda3 100644
--- a/Completion/Unix/Command/_gcc
+++ b/Completion/Unix/Command/_gcc
@@ -957,10 +957,10 @@ if [[ "$service" = clang* ]]; then
     '-fveclib=[use the given vector functions library]:arg'
     '-fvectorize[enable the loop vectorization passes]'
     '-fvirtual-function-elimination[enables dead virtual function elimination optimization]'
-    '-fvisibility-dllexport=[the visibility for dllexport defintions]:arg'
+    '-fvisibility-dllexport=[the visibility for dllexport definitions]:arg'
     '-fvisibility-externs-dllimport=[the visibility for dllimport external declarations]:arg'
     '-fvisibility-externs-nodllstorageclass=[the visibility for external declarations without an explicit DLL dllstorageclass]:arg'
-    '-fvisibility-from-dllstorageclass[set the visiblity of symbols in the generated code from their DLL storage class]'
+    '-fvisibility-from-dllstorageclass[set the visibility of symbols in the generated code from their DLL storage class]'
     '-fvisibility-global-new-delete-hidden[give global C++ operator new and delete declarations hidden visibility]'
     '-fvisibility-inlines-hidden[give inline C++ member functions hidden visibility by default]'
     '-fvisibility-inlines-hidden-static-local-var[visibility inlines hidden static local var]'
diff --git a/Etc/FAQ.yo b/Etc/FAQ.yo
index 20f6449f1..235a205d3 100644
--- a/Etc/FAQ.yo
+++ b/Etc/FAQ.yo
@@ -333,7 +333,7 @@ sect(What's the latest version?)
   Changes of this kind are almost always forced by an awkward or
   unnecessary feature in the original design (as perceived by current
   users), or to enhance compatibility with other Bourne shell
-  derivatives, or (mostly in the 3.0 series) to provide POSIX compliancy.
+  derivatives, or (mostly in the 3.0 series) to provide POSIX compliance.
 
 
 sect(Where do I get it?)
@@ -871,7 +871,7 @@ label(25)
   the most obvious difference from zsh is that it does not attempt to
   emulate the Korn shell.  Since both shells are under active
   development it is probably not sensible to be too specific here.
-  Broadly, bash has paid more attention to standards compliancy
+  Broadly, bash has paid more attention to standards compliance
   (i.e. POSIX) for longer, and has so far avoided the more abstruse
   interactive features (programmable completion, etc.) that zsh has.
 
diff --git a/Etc/NEWS-4.3 b/Etc/NEWS-4.3
index 19b3daada..8d93af134 100644
--- a/Etc/NEWS-4.3
+++ b/Etc/NEWS-4.3
@@ -139,7 +139,7 @@ The new shell option POSIX_CD, active in emulations of POSIX-based shells,
 makes the cd builtin POSIX-compatible.
 
 The POSIX_JOBS option already referred to has various other
-compatibility enchancements.
+compatibility enhancements.
 
 The new shell option POSIX_STRINGS makes a null character in $'...'
 expansion terminate the string, as is already the case in bash.  This is
diff --git a/Functions/Chpwd/cdr b/Functions/Chpwd/cdr
index 4bed88b13..43745e5aa 100644
--- a/Functions/Chpwd/cdr
+++ b/Functions/Chpwd/cdr
@@ -55,7 +55,7 @@
 # pattern from the directory list.  The match is against the fully
 # expanded directory path and the full string must match (use wildcards
 # at the ends if needed).  If output is going to a terminal, the
-# function will print the new list for the user to confrim; this can be
+# function will print the new list for the user to confirm; this can be
 # skipped by giving -P instead of -p.
 #
 # Details of directory handling
diff --git a/Functions/Misc/regexp-replace b/Functions/Misc/regexp-replace
index 0d5948075..d4408f0f7 100644
--- a/Functions/Misc/regexp-replace
+++ b/Functions/Misc/regexp-replace
@@ -40,7 +40,7 @@ if (( $4 )); then
     # append offsets and computed replacement to the array
     # we need to perform the evaluation in a scalar assignment so that if
     # it generates an array, the elements are converted to string (by
-    # joining with the first chararacter of $IFS as usual)
+    # joining with the first character of $IFS as usual)
     5=${(e)3}
     argv+=(${(s: :)ZPCRE_OP} "$5")
 
diff --git a/Functions/Newuser/zsh-newuser-install b/Functions/Newuser/zsh-newuser-install
index 60ac16b13..9e911d07c 100644
--- a/Functions/Newuser/zsh-newuser-install
+++ b/Functions/Newuser/zsh-newuser-install
@@ -627,7 +627,7 @@ Type:
 }
 
 
-# Print and despatch a submenu.
+# Print and dispatch a submenu.
 # The first argument is the title.  The remaining arguments
 # are pairs of descriptions and functions to execute.
 # There shouldn't be more than 9 entries.
diff --git a/NEWS b/NEWS
index aac10eddb..3459391e7 100644
--- a/NEWS
+++ b/NEWS
@@ -571,7 +571,7 @@ Here is a summary of the most significant changes:
 - The zshroadmap manual page provides a slightly more helpful
   introduction to the shell manual than was previously available.
 
-- There have been some notable enhancements to POSIX comptability
+- There have been some notable enhancements to POSIX compatibility
   when the shell is in a corresponding emulation (e.g. "emulate sh").
 
 Expansion (parameters, globbing, etc.) and redirection
diff --git a/Src/Zle/compmatch.c b/Src/Zle/compmatch.c
index 95eff1e92..56e5509a4 100644
--- a/Src/Zle/compmatch.c
+++ b/Src/Zle/compmatch.c
@@ -1438,7 +1438,7 @@ pattern_match_restrict(Cpattern p, Cpattern wp, convchar_t *wsc, int wsclen,
 
 	/*
 	 * If either is "?", they match each other; no further tests.
-	 * Apply this even if the character wasn't convertable;
+	 * Apply this even if the character wasn't convertible;
 	 * there's no point trying to be clever in that case.
 	 */
 	if (p->tp != CPAT_ANY || wp->tp != CPAT_ANY)
@@ -1496,7 +1496,7 @@ pattern_match_restrict(Cpattern p, Cpattern wp, convchar_t *wsc, int wsclen,
 		 * characters.  We're matching two patterns against
 		 * one another to generate a character to insert.
 		 * This is a bit too psychedelic, so I'm going to
-		 * bale out now.  See you on the ground.
+		 * bail out now.  See you on the ground.
 		 */
 		return 0;
 	    }
@@ -1564,7 +1564,7 @@ pattern_match(Cpattern p, char *s, Cpattern wp, char *ws)
 	c = unmeta_one(s, &len);
 	/*
 	 * If either is "?", they match each other; no further tests.
-	 * Apply this even if the character wasn't convertable;
+	 * Apply this even if the character wasn't convertible;
 	 * there's no point trying to be clever in that case.
 	 */
 	if (p->tp != CPAT_ANY || wp->tp != CPAT_ANY)
@@ -1934,7 +1934,7 @@ bld_line(Cmatcher mp, ZLE_STRING_T line, char *mword, char *word,
 		 * This is the nightmare case: we have line and
 		 * and word matchers and some pattern which restricts
 		 * the value on the line without us knowing exactly
-		 * what it is.  Despatch to the special function
+		 * what it is.  Dispatch to the special function
 		 * for that.
 		 */
 		if (mp && !mp->flags && mp->wlen <= wlen &&
diff --git a/Src/exec.c b/Src/exec.c
index 1f23a862d..1860a10ed 100644
--- a/Src/exec.c
+++ b/Src/exec.c
@@ -3954,7 +3954,7 @@ execcmd_exec(Estate state, Execcmd_params eparams,
 	    if (type == WC_AUTOFN) {
 		/*
 		 * We pre-loaded this to get any redirs.
-		 * So we execuate a simplified function here.
+		 * So we execute a simplified function here.
 		 */
 		lastval =  execautofn_basic(state, do_exec);
 	    } else
diff --git a/Src/math.c b/Src/math.c
index ade02d80c..4f24361a4 100644
--- a/Src/math.c
+++ b/Src/math.c
@@ -162,7 +162,7 @@ static int unary = 1;
 #define TOKCOUNT 53
 
 /*
- * Opeator recedences: in reverse order, i.e. lower number, high precedence.
+ * Operator precedences: in reverse order, i.e. lower number, high precedence.
  * These are the C precedences.
  *
  * 0   Non-operators: NUM (numeric constant), ID (identifier),
@@ -219,7 +219,7 @@ static int c_prec[TOKCOUNT] =
 };
 
 /*
- * Opeator recedences: in reverse order, i.e. lower number, high precedence.
+ * Operator precedences: in reverse order, i.e. lower number, high precedence.
  * These are the default zsh precedences.
  *
  * 0   Non-operators: NUM (numeric constant), ID (identifier),
diff --git a/Test/A01grammar.ztst b/Test/A01grammar.ztst
index c114ff103..ac39a4eea 100644
--- a/Test/A01grammar.ztst
+++ b/Test/A01grammar.ztst
@@ -922,7 +922,7 @@ F:Note that the behaviour of 'exit' inside try-list inside a function is unspeci
   x=1
   x=2 | echo $x
   echo $x
-0:Assignment-only current shell commands in LHS of pipelin
+0:Assignment-only current shell commands in LHS of pipeline
 >1
 >1
 
diff --git a/Test/B12limit.ztst b/Test/B12limit.ztst
index 48d33e6e3..9dce59824 100644
--- a/Test/B12limit.ztst
+++ b/Test/B12limit.ztst
@@ -11,7 +11,7 @@
 %test
 
  limit | grep UNKNOWN || print OK
-0:Check if there is unknown resouce(s) in the system
+0:Check if there is unknown resource(s) in the system
 >OK
 F:A failure here does not indicate any error in zsh. It just means there
 F:is a resource in your system that is unknown to zsh developers. Please