bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Spelling fixes


From: Ville Skyttä
Subject: [PATCH] Spelling fixes
Date: Sat, 14 Oct 2017 21:49:50 +0300

---
 CHANGES                             | 22 +++++++++++-----------
 CWRU/changelog                      |  8 ++++----
 NEWS                                |  6 +++---
 bashhist.c                          |  2 +-
 bashline.c                          |  4 ++--
 builtins/gen-helpfiles.c            |  2 +-
 builtins/help.def                   |  2 +-
 configure.ac                        |  2 +-
 cross-build/cygwin32.cache          |  2 +-
 doc/bash.1                          |  2 +-
 doc/bash.html                       |  2 +-
 doc/bash.info                       |  2 +-
 doc/bashref.html                    |  2 +-
 doc/bashref.info                    |  2 +-
 doc/bashref.texi                    |  2 +-
 examples/complete/bash_completion   |  4 ++--
 examples/functions/autoload         |  2 +-
 examples/functions/autoload.v2      |  2 +-
 examples/functions/autoload.v3      |  2 +-
 examples/functions/sort-pos-params  |  2 +-
 examples/loadables/necho.c          |  2 +-
 examples/loadables/pathchk.c        |  2 +-
 examples/startup-files/Bash_aliases |  2 +-
 expr.c                              |  2 +-
 include/posixdir.h                  |  2 +-
 subst.h                             |  2 +-
 tests/array.tests                   |  4 ++--
 tests/builtins.tests                |  2 +-
 tests/errors.tests                  |  2 +-
 tests/new-exp2.sub                  |  2 +-
 tests/printf.tests                  |  2 +-
 tests/printf1.sub                   |  2 +-
 tests/source5.sub                   |  2 +-
 33 files changed, 51 insertions(+), 51 deletions(-)

diff --git a/CHANGES b/CHANGES
index 43cb1341..fffd68c1 100644
--- a/CHANGES
+++ b/CHANGES
@@ -998,7 +998,7 @@ bb. Aliases whose value ends in a shell metacharacter now 
expand in a way to
 
 4.  New Features in Readline
 
-a.  The history truncation code now uses the same error recovery mechansim as
+a.  The history truncation code now uses the same error recovery mechanism as
     the history writing code, and restores the old version of the history file
     on error.  The error recovery mechanism handles symlinked history files.
 
@@ -1335,7 +1335,7 @@ c.  Fixed a bug that caused the pattern removal and 
pattern substitution word
     expansions and case statement word expansion to not match the empty string.
 
 d.  Fixed a bug that caused the tzset() function to not work after changing
-    the TZ enviroment variable.
+    the TZ environment variable.
 
 e.  Fixed a bug that caused the RHS of an assignment statement to undergo
     word splitting when it contained an unquoted address@hidden
@@ -1386,7 +1386,7 @@ t.  Fixed a problem with the bash malloc's internal idea 
of the top of the
     memory heap that resulted in incorrect decisions to try to reduce the
     break and give memory back to the kernel.
 
-u.  There are changes to the expansions peformed on compound array assignments,
+u.  There are changes to the expansions performed on compound array 
assignments,
     in an effort to make foo=( [ind1]=bar [ind2]=baz ) identical to
     foo[ind1]=bar foo[ind2]=baz.
 
@@ -2388,7 +2388,7 @@ j.  Fixed a bug in brace expansion that caused unwanted 
zero padding of the
 k.  Fixed a bug that prevented the |& construct from working as intended when
     used with a simple command with additional redirections.
 
-l.  Fixed a bug with the case statment ;& terminator that caused the shell to
+l.  Fixed a bug with the case statement ;& terminator that caused the shell to
     dereference a NULL pointer.
 
 m.  Fixed a bug that caused assignment statements or redirections preceding
@@ -3453,7 +3453,7 @@ x.  Fixed a bug that caused the shell to dump core when 
performing filename
 y.  Returned to the original Bourne shell rules for parsing ``:  no recursive
     parsing of embedded quoted strings or ${...} constructs.
 
-z.  The inheritence of the DEBUG, RETURN, and ERR traps is now dependent only
+z.  The inheritance of the DEBUG, RETURN, and ERR traps is now dependent only
     on the settings of the `functrace' and `errtrace' shell options, rather
     than whether or not the shell is in debugging mode.
 
@@ -3688,7 +3688,7 @@ and the previous version, bash-3.1-alpha1.
 a.  Added some system-specific signal names.
 
 b.  Fixed a typo in the ulimit builtin to make `x' the right option to
-    maniuplate the limit on file locks.
+    manipulate the limit on file locks.
 
 c.  Fixed a problem with using += to append to index 0 of an array variable
     when not using subscript syntax.
@@ -5006,7 +5006,7 @@ c.  Fixed a problem which caused the display to be messed 
up when the last
     line of a multi-line prompt (possibly containing invisible characters)
     was longer than the screen width.
 
-d.  Fixed a problem with the vi-mode `r' command that ocurred on systems with
+d.  Fixed a problem with the vi-mode `r' command that occurred on systems with
     support for multibyte characters when running in a locale without any
     multibyte characters.
 
@@ -5661,7 +5661,7 @@ c.  `ulimit' prints `hard' or `soft' when a value is not 
`unlimited' but is
 
 a.  New bindable variable `history-preserve-point'.  If set, the history
     code attempts to place the user at the same location on each history
-    line retrived with previous-history or next-history.
+    line retrieved with previous-history or next-history.
 
 ------------------------------------------------------------------------------
 This document details the changes between this version, bash-2.05a-alpha1,
@@ -6114,7 +6114,7 @@ e.  Fixed a file descriptor leak in the history file 
manipulation code that
     /dev/null).
 
 f.  Some existing variables are now documented and part of the public
-    interface (declared in readline.h):  rl_explict_arg, rl_numeric_arg,
+    interface (declared in readline.h):  rl_explicit_arg, rl_numeric_arg,
     rl_editing_mode, rl_last_func.
 
 g.  Renamed rltty_set_default_bindings to rl_tty_set_default_bindings and
@@ -6886,7 +6886,7 @@ m.  Improvements were made to the `read' builtin so that 
it makes many
 n.  The expansion of $- will include `c' and `s' when those options are
     supplied at shell invocation.
 
-o.  Several improvments were made to the completion code:  variable completion
+o.  Several improvements were made to the completion code:  variable completion
     now works better when there are unterminated expansions, command
     completion understands quotes better, and completion now works in certain
     unclosed $(... constructs.
@@ -8858,5 +8858,5 @@ b. A bug encountered when expand-tilde was enabled and 
file completion was
 c. A slight change was made to the incremental search termination behavior.
    ESC still terminates the search, but if input is pending or arrives
    within 0.1 seconds (on systems with select(2)), it is used as a prefix
-   character.  This is intented to allow users to terminate searches with
+   character.  This is intended to allow users to terminate searches with
    the arrow keys and get the behavior they expect.
diff --git a/CWRU/changelog b/CWRU/changelog
index f37159d8..12a74a71 100644
--- a/CWRU/changelog
+++ b/CWRU/changelog
@@ -3119,7 +3119,7 @@ builtins/declare.def
        - document new -n option
        - declare_internal: new `-n' and `+n' options
        - declare_internal: handle declare -n var[=value] and
-         declare +n var[=value] for existing and non-existant variables.
+         declare +n var[=value] for existing and non-existent variables.
          Enforce restriction that nameref variables cannot be arrays.
          Implement semi-peculiar ksh93 semantics for typeset +n ref=value
 
@@ -4215,7 +4215,7 @@ subst.c
                                   12/27
                                   -----
 bashline.c
-       - Minix needs the third argument to tputs to be a void funtion taking
+       - Minix needs the third argument to tputs to be a void function taking
          an int argument, not an int-returning function.  Fix from
          John E. Malmberg <address@hidden> as part of VMS bash port
 
@@ -7117,7 +7117,7 @@ builtins/getopt.[ch]
 
 execute_cmd.c
        - maybe_restore_getopt_state: restore sh_getopt state after executing
-         function body iff the funtion declared a local copy of OPTIND
+         function body iff the function declared a local copy of OPTIND
        - execute_function: save sh_getopt state before executing function body
        - execute_function: note in getopt_state->flags whether or not the
          function declared a local copy of OPTIND; used by
@@ -11328,7 +11328,7 @@ subst.c
        - expand_word_internal: when adding an IFS character to the accumulated
          string, don't quote it if word expansion is not going to be
          performed ((word->flags & (W_NOSPLIT|W_NOSPLIT2)) == 0) in the
-         default case.  This was already the case everwhere else, when we did
+         default case.  This was already the case everywhere else, when we did
          `goto add_ifs_character;'.  Fixes bug reported by Ibrahim M. Ghazal
          <address@hidden>
 
diff --git a/NEWS b/NEWS
index 931dc846..38c10293 100644
--- a/NEWS
+++ b/NEWS
@@ -150,7 +150,7 @@ rr. Bash now uses mktemp() when creating internal temporary 
files; it produces
 
 2.  New Features in Readline
 
-a.  The history truncation code now uses the same error recovery mechansim as
+a.  The history truncation code now uses the same error recovery mechanism as
     the history writing code, and restores the old version of the history file
     on error.  The error recovery mechanism handles symlinked history files.
 
@@ -1371,7 +1371,7 @@ e.  The history expansion code now allows any character 
to terminate a
 
 f.  New bindable variable `history-preserve-point'.  If set, the history
     code attempts to place the user at the same location on each history
-    line retrived with previous-history or next-history.
+    line retrieved with previous-history or next-history.
 
 -------------------------------------------------------------------------------
 This is a terse description of the new features added to bash-2.05 since
@@ -1811,7 +1811,7 @@ p.  The shell now supports integer-indexed arrays of 
unlimited length,
 
 q.  ${!var}: indirect variable expansion, equivalent to eval \${$var}.
 
-r.  ${paramter:offset[:length]}: variable substring extraction.
+r.  ${parameter:offset[:length]}: variable substring extraction.
 
 s.  ${parameter/pattern[/[/]string]}: variable pattern substitution.
 
diff --git a/bashhist.c b/bashhist.c
index 9979f99a..59ebef0d 100644
--- a/bashhist.c
+++ b/bashhist.c
@@ -137,7 +137,7 @@ int command_oriented_history = 1;
 
 /* Set to 1 if the first line of a possibly-multi-line command was saved
    in the history list.  Managed by maybe_add_history(), but global so
-   the history-manipluating builtins can see it. */
+   the history-manipulating builtins can see it. */
 int current_command_first_line_saved = 0;
 
 /* Non-zero means to store newlines in the history list when using
diff --git a/bashline.c b/bashline.c
index 02758448..6a20de8b 100644
--- a/bashline.c
+++ b/bashline.c
@@ -255,7 +255,7 @@ static int bash_vi_complete __P((int, int));
 #endif
 static int emacs_edit_and_execute_command __P((int, int));
 
-/* Non-zero once initalize_readline () has been called. */
+/* Non-zero once initialize_readline () has been called. */
 int bash_readline_initialized = 0;
 
 /* If non-zero, we do hostname completion, breaking words at `@' and
@@ -285,7 +285,7 @@ int dircomplete_expand_relpath = 0;
 
 /* When non-zero, perform `normal' shell quoting on completed filenames
    even when the completed name contains a directory name with a shell
-   variable referene, so dollar signs in a filename get quoted appropriately.
+   variable reference, so dollar signs in a filename get quoted appropriately.
    Set to zero to remove dollar sign (and braces or parens as needed) from
    the set of characters that will be quoted. */
 int complete_fullquote = 1;
diff --git a/builtins/gen-helpfiles.c b/builtins/gen-helpfiles.c
index fac34edf..93c3a5dd 100644
--- a/builtins/gen-helpfiles.c
+++ b/builtins/gen-helpfiles.c
@@ -102,7 +102,7 @@ int write_helpfiles __P((struct builtin *));
 
 /* For each file mentioned on the command line, process it and
    write the information to STRUCTFILE and EXTERNFILE, while
-   creating the production file if neccessary. */
+   creating the production file if necessary. */
 int
 main (argc, argv)
      int argc;
diff --git a/builtins/help.def b/builtins/help.def
index 95a1a360..81e63bc6 100644
--- a/builtins/help.def
+++ b/builtins/help.def
@@ -37,7 +37,7 @@ Options:
                PATTERN
 
 Arguments:
-  PATTERN      Pattern specifiying a help topic
+  PATTERN      Pattern specifying a help topic
 
 Exit Status:
 Returns success unless PATTERN is not found or an invalid option is given.
diff --git a/configure.ac b/configure.ac
index ce4e9b60..f3b29e27 100644
--- a/configure.ac
+++ b/configure.ac
@@ -246,7 +246,7 @@ AC_ARG_ENABLE(static-link, 
AC_HELP_STRING([--enable-static-link], [link bash sta
 
 dnl So-called `precious' variables
 AC_ARG_VAR([CC_FOR_BUILD], [C compiler used when compiling binaries used only 
at build time])
-AC_ARG_VAR([CFLAGS_FOR_BUILD], [Compliation options (CFLAGS) used when 
compiling binaries used only at build time])
+AC_ARG_VAR([CFLAGS_FOR_BUILD], [Compilation options (CFLAGS) used when 
compiling binaries used only at build time])
 AC_ARG_VAR([LDFLAGS_FOR_BUILD], [Linker options (LDFLAGS) used when compiling 
binaries used only at build time])
 AC_ARG_VAR([CPPFLAGS_FOR_BUILD], [C preprocessor options (CPPFLAGS) used when 
compiling binaries used only at build time])
 
diff --git a/cross-build/cygwin32.cache b/cross-build/cygwin32.cache
index 36948dae..33d32e89 100644
--- a/cross-build/cygwin32.cache
+++ b/cross-build/cygwin32.cache
@@ -7,7 +7,7 @@
 # config.status only pays attention to the cache file if you give it
 # the --recheck option to rerun configure.
 #
-# `ac_cv_env_foo' variables (set or unset) will be overriden when
+# `ac_cv_env_foo' variables (set or unset) will be overridden when
 # loading this file, other *unset* `ac_cv_foo' will be assigned the
 # following values.
 
diff --git a/doc/bash.1 b/doc/bash.1
index 9a7a384a..6ed8a99c 100644
--- a/doc/bash.1
+++ b/doc/bash.1
@@ -3202,7 +3202,7 @@ format that can be reused as input.
 .TP
 .B E
 The expansion is a string that is the value of \fIparameter\fP with backslash
-escape sequences expanded as with the \fB$'...'\fP quoting mechansim.
+escape sequences expanded as with the \fB$'...'\fP quoting mechanism.
 .TP
 .B P
 The expansion is a string that is the result of expanding the value of
diff --git a/doc/bash.html b/doc/bash.html
index 983284e8..42c5ad38 100644
--- a/doc/bash.html
+++ b/doc/bash.html
@@ -4018,7 +4018,7 @@ format that can be reused as input.
 
 <DD>
 The expansion is a string that is the value of <I>parameter</I> with backslash
-escape sequences expanded as with the <B>$'...'</B> quoting mechansim.
+escape sequences expanded as with the <B>$'...'</B> quoting mechanism.
 <DT><B>P</B>
 
 <DD>
diff --git a/doc/bash.info b/doc/bash.info
index fac67865..c76a5692 100644
--- a/doc/bash.info
+++ b/doc/bash.info
@@ -1881,7 +1881,7 @@ omitted, the operator tests only for existence.
      'E'
           The expansion is a string that is the value of PARAMETER with
           backslash escape sequences expanded as with the '$'...''
-          quoting mechansim.
+          quoting mechanism.
      'P'
           The expansion is a string that is the result of expanding the
           value of PARAMETER as if it were a prompt string (*note
diff --git a/doc/bashref.html b/doc/bashref.html
index 8c2eabf0..603428b4 100644
--- a/doc/bashref.html
+++ b/doc/bashref.html
@@ -2745,7 +2745,7 @@ format that can be reused as input.
 </p></dd>
 <dt><code>E</code></dt>
 <dd><p>The expansion is a string that is the value of <var>parameter</var> 
with backslash
-escape sequences expanded as with the <code>$'&hellip;'</code> quoting 
mechansim.
+escape sequences expanded as with the <code>$'&hellip;'</code> quoting 
mechanism.
 </p></dd>
 <dt><code>P</code></dt>
 <dd><p>The expansion is a string that is the result of expanding the value of
diff --git a/doc/bashref.info b/doc/bashref.info
index 28b06109..deb4efb1 100644
--- a/doc/bashref.info
+++ b/doc/bashref.info
@@ -1881,7 +1881,7 @@ omitted, the operator tests only for existence.
      'E'
           The expansion is a string that is the value of PARAMETER with
           backslash escape sequences expanded as with the '$'...''
-          quoting mechansim.
+          quoting mechanism.
      'P'
           The expansion is a string that is the result of expanding the
           value of PARAMETER as if it were a prompt string (*note
diff --git a/doc/bashref.texi b/doc/bashref.texi
index c0f4a2f8..ea65a1f9 100644
--- a/doc/bashref.texi
+++ b/doc/bashref.texi
@@ -2213,7 +2213,7 @@ The expansion is a string that is the value of 
@var{parameter} quoted in a
 format that can be reused as input.
 @item E
 The expansion is a string that is the value of @var{parameter} with backslash
-escape sequences expanded as with the @code{$'@dots{}'} quoting mechansim.
+escape sequences expanded as with the @code{$'@dots{}'} quoting mechanism.
 @item P
 The expansion is a string that is the result of expanding the value of
 @var{parameter} as if it were a prompt string (@pxref{Controlling the Prompt}).
diff --git a/examples/complete/bash_completion 
b/examples/complete/bash_completion
index b0cf4a85..daf5c9b0 100644
--- a/examples/complete/bash_completion
+++ b/examples/complete/bash_completion
@@ -4665,7 +4665,7 @@ _java_packages()
 {
        local sourcepath i
 
-       # find wich sourcepath to use
+       # find which sourcepath to use
        _java_find_sourcepath
 
        # convert package syntax to path syntax
@@ -5141,7 +5141,7 @@ _update_alternatives()
                ;;
        esac
 
-       # find wich mode to use and how many real args used so far
+       # find which mode to use and how many real args used so far
        for (( i=1; i < COMP_CWORD; i++ )); do
                if [[ "${COMP_WORDS[i]}" == 
--@(install|remove|auto|display|config|remove-all) ]]; then
                        mode=${COMP_WORDS[i]}
diff --git a/examples/functions/autoload b/examples/functions/autoload
index a563a779..cb3a673e 100644
--- a/examples/functions/autoload
+++ b/examples/functions/autoload
@@ -22,7 +22,7 @@
 #
 # Declare a function ($1) to be autoloaded from a file ($2) when it is first
 # called.  This defines a `temporary' function that will `.' the file 
-# containg the real function definition, then execute that new definition with
+# containing the real function definition, then execute that new definition 
with
 # the arguments given to this `fake' function.  The autoload function defined
 # by the file and the file itself *must* be named identically.
 #
diff --git a/examples/functions/autoload.v2 b/examples/functions/autoload.v2
index e8f34335..e29c6958 100644
--- a/examples/functions/autoload.v2
+++ b/examples/functions/autoload.v2
@@ -29,7 +29,7 @@ _aindex=0
 #
 # Declare a function ($1) to be autoloaded from a file ($2) when it is first
 # called.  This defines a `temporary' function that will `.' the file 
-# containg the real function definition, then execute that new definition with
+# containing the real function definition, then execute that new definition 
with
 # the arguments given to this `fake' function.  The autoload function defined
 # by the file and the file itself *must* be named identically.
 #
diff --git a/examples/functions/autoload.v3 b/examples/functions/autoload.v3
index b1e5dfe2..af764655 100644
--- a/examples/functions/autoload.v3
+++ b/examples/functions/autoload.v3
@@ -11,7 +11,7 @@
 #my ksh-based environment to bash (a very, very pleasant experience)
 #and this popped out.
 
-# the psuedo-ksh autoloader.
+# the pseudo-ksh autoloader.
 
 # The first cut of this was by Bill Trost, address@hidden
 # The second cut came from Chet Ramey, address@hidden
diff --git a/examples/functions/sort-pos-params 
b/examples/functions/sort-pos-params
index 3fbf7dba..95acd85f 100644
--- a/examples/functions/sort-pos-params
+++ b/examples/functions/sort-pos-params
@@ -17,7 +17,7 @@
 #   along with this program; if not, write to the Free Software Foundation,
 #   Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
-# Sort the positional paramters.
+# Sort the positional parameters.
 # Make sure the positional parameters are passed as arguments to the function.
 # If -u is the first arg, remove duplicate array members.
 sort_posparams()
diff --git a/examples/loadables/necho.c b/examples/loadables/necho.c
index ee65f184..dd2092b0 100644
--- a/examples/loadables/necho.c
+++ b/examples/loadables/necho.c
@@ -38,7 +38,7 @@ WORD_LIST *list;
 char *necho_doc[] = {
        "Display arguments.",
        "",
-       "Print the arguments to the standard ouput separated",
+       "Print the arguments to the standard output separated",
        "by space characters and terminated with a newline.",
        (char *)NULL
 };
diff --git a/examples/loadables/pathchk.c b/examples/loadables/pathchk.c
index 85e8a04c..3e6cfe68 100644
--- a/examples/loadables/pathchk.c
+++ b/examples/loadables/pathchk.c
@@ -135,7 +135,7 @@ char *pathchk_doc[] = {
        "Check pathnames for validity.",
        "",
        "Check each pathname argument for validity (i.e., it may be used to",
-       "create or access a file without casuing syntax errors) and 
portability",
+       "create or access a file without causing syntax errors) and 
portability",
        "(i.e., no filename truncation will result).  If the `-p' option is",
        "supplied, more extensive portability checks are performed.",
        (char *)NULL
diff --git a/examples/startup-files/Bash_aliases 
b/examples/startup-files/Bash_aliases
index bb9c01e4..2abb93ee 100644
--- a/examples/startup-files/Bash_aliases
+++ b/examples/startup-files/Bash_aliases
@@ -17,7 +17,7 @@ alias pu="pushd"
 alias po="popd"
 
 #
-# Csh compatability:
+# Csh compatibility:
 #
 alias unsetenv=unset
 function setenv () {
diff --git a/expr.c b/expr.c
index 172964a2..4f1e78fd 100644
--- a/expr.c
+++ b/expr.c
@@ -1432,7 +1432,7 @@ evalerror (msg)
 
    Base may be >=2 and <=64.  If base is <= 36, the numbers are drawn
    from [0-9][a-zA-Z], and lowercase and uppercase letters may be used
-   interchangably.  If base is > 36 and <= 64, the numbers are drawn
+   interchangeably.  If base is > 36 and <= 64, the numbers are drawn
    from [0-9][a-z][A-Z]_@ (a = 10, z = 35, A = 36, Z = 61, @ = 62, _ = 63 --
    you get the picture). */
 
diff --git a/include/posixdir.h b/include/posixdir.h
index 0921c5d7..af5be801 100644
--- a/include/posixdir.h
+++ b/include/posixdir.h
@@ -46,7 +46,7 @@
 #  define D_NAMLEN(d)   ((d)->d_namlen)
 #endif /* !HAVE_DIRENT_H */
 
-/* The bash code fairly consistenly uses d_fileno; make sure it's available */
+/* The bash code fairly consistently uses d_fileno; make sure it's available */
 #if defined (HAVE_STRUCT_DIRENT_D_INO) && !defined 
(HAVE_STRUCT_DIRENT_D_FILENO)
 #  define d_fileno d_ino
 #endif
diff --git a/subst.h b/subst.h
index a2a8294e..19808f39 100644
--- a/subst.h
+++ b/subst.h
@@ -107,7 +107,7 @@ extern char *string_list_dollar_star __P((WORD_LIST *));
 /* Expand $@ into a single string, obeying POSIX rules. */
 extern char *string_list_dollar_at __P((WORD_LIST *, int, int));
 
-/* Turn the positional paramters into a string, understanding quoting and
+/* Turn the positional parameters into a string, understanding quoting and
    the various subtleties of using the first character of $IFS as the
    separator.  Calls string_list_dollar_at, string_list_dollar_star, and
    string_list as appropriate. */
diff --git a/tests/array.tests b/tests/array.tests
index b1053937..698ec90e 100644
--- a/tests/array.tests
+++ b/tests/array.tests
@@ -152,7 +152,7 @@ echo ${x[4]}
 echo efgh | ( read x[1] ; echo ${x[1]} )
 echo wxyz | ( declare -a x ; read x ; echo $x ; echo ${x[0]} )
 
-# Make sure that arrays can be used to save the positional paramters verbatim
+# Make sure that arrays can be used to save the positional parameters verbatim
 set -- a 'b c' d 'e f g' h
 
 ARGV=( [0]=$0 "$@" )
@@ -244,7 +244,7 @@ ${THIS_SH} ./array2.sub
 # some old bugs and ksh93 compatibility tests
 ${THIS_SH} ./array3.sub
 
-# some compound assingment parsing problems that showed up in bash-3.1-release
+# some compound assignment parsing problems that showed up in bash-3.1-release
 ${THIS_SH} ./array4.sub
 
 set +u
diff --git a/tests/builtins.tests b/tests/builtins.tests
index ac74fe6f..14999688 100644
--- a/tests/builtins.tests
+++ b/tests/builtins.tests
@@ -173,7 +173,7 @@ echo "$@"
 # test out cd and $CDPATH
 ${THIS_SH} ./builtins1.sub
 
-# test behavior of `.' when given a non-existant file argument
+# test behavior of `.' when given a non-existent file argument
 ${THIS_SH} ./source5.sub
 
 # test bugs in sourcing non-regular files, fixed post-bash-3.2
diff --git a/tests/errors.tests b/tests/errors.tests
index ff542f78..33c44037 100644
--- a/tests/errors.tests
+++ b/tests/errors.tests
@@ -95,7 +95,7 @@ local
 # logout of a non-login shell is an error
 logout
 
-# try to hash a non-existant command
+# try to hash a non-existent command
 hash notthere
 
 # bad option to hash, although it may mean `verbose' at some future point
diff --git a/tests/new-exp2.sub b/tests/new-exp2.sub
index e8377799..1cb5a5e7 100644
--- a/tests/new-exp2.sub
+++ b/tests/new-exp2.sub
@@ -31,7 +31,7 @@ set -o posix
 LINES2=$(< /tmp/bashtmp.x*)
 set +o posix
 
-# now see what happens when we try it with a non-existant file
+# now see what happens when we try it with a non-existent file
 LINES3=$(< /tmp/redir-notthere)
 echo $?
 
diff --git a/tests/printf.tests b/tests/printf.tests
index e72f5c8b..b3999e63 100644
--- a/tests/printf.tests
+++ b/tests/printf.tests
@@ -22,7 +22,7 @@ printf "\tone\n"
 # this should not cut off output after the \c
 printf "one\ctwo\n"
 
-# and unrecognized backslash escapes should have the backslash preserverd
+# and unrecognized backslash escapes should have the backslash preserved
 printf "4\.2\n"
 
 printf "no newline " ; printf "now newline\n"
diff --git a/tests/printf1.sub b/tests/printf1.sub
index 52612d5c..741ef965 100644
--- a/tests/printf1.sub
+++ b/tests/printf1.sub
@@ -11,7 +11,7 @@ printf "%s"  "$vv"
 printf -v vv "one\ctwo\n"
 printf "%s"  "$vv"
 
-# and unrecognized backslash escapes should have the backslash preserverd
+# and unrecognized backslash escapes should have the backslash preserved
 printf -v vv "4\.2\n"
 printf "%s"  "$vv"
 
diff --git a/tests/source5.sub b/tests/source5.sub
index e6188094..02426384 100644
--- a/tests/source5.sub
+++ b/tests/source5.sub
@@ -6,7 +6,7 @@ export LANG=C
 
 set +o posix
 
-# attempting to source a non-existant file is not an error...
+# attempting to source a non-existent file is not an error...
 . /tmp/source-notthere
 
 echo after bad source 1
-- 
2.14.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]