spelling typos fixed
thanks

On Thu, 04 Mar 2010 22:06:12 +0100 Oliver Kiddle wrote:
> The patch below fixes a few spelling mistakes that are being picked up
> by the Debian lintian tool (which checks packages).

> If you prefer to fix these manually, grep for "specifed", "preceeded"
> and "ommitted" in the source. There's also one instance of a minus sign
> in sh.1 that needs \ quoting so that it is a minus and not a hyphen in
> UTF-8 locales.

> While minor, I'd appreciate if these fixes could be applied.

> Thanks

> Oliver

> --- ksh-93t+20100301.orig/src/cmd/ksh93/sh.1
> +++ ksh-93t+20100301/src/cmd/ksh93/sh.1
> @@ -1023,7 +1023,7 @@
>  range of
>  0 through 4,194,303.
>  A negative subscript is treated as an offset from the maximum
> -current index +1 so that -1 refers to the last element.
> +current index +1 so that \-1 refers to the last element.
>  Indexed arrays can be declared with the
>  .B \-a
>  option to
> @@ -5684,7 +5684,7 @@
>  .TP
>  \(dg\(dg \f3enum\fP \*(OK \f3\-i\fP  \*(CK \f2type\^\fP\*(OK=(\f2value\^\fP 
> .\|.\|.) \*(CK
>  Creates a declaration command named \f2type\^\fP that is an
> -integer type that allows one of the specifed \f2value\fPs as
> +integer type that allows one of the specified \f2value\fPs as
>  enumeration names.  If \f3=(\fP\f2value\^\ .\|.\|.\|\fP\f3)\fP is
>  omitted, then \f2type\^\fP must be an indexed array variable with at
>  least two elements and the values are taken from this array variable.
> --- ksh-93t+20100301.orig/src/cmd/ksh93/data/lexstates.c
> +++ ksh-93t+20100301/src/cmd/ksh93/data/lexstates.c
> @@ -387,7 +387,7 @@
>  
>  const char e_lexversion[]    = "%d: invalid binary script version";
>  const char e_lexspace[]              = "line %d: use space or tab to 
> separate operators %c and %c";
> -const char e_lexslash[]              = "line %d: $ not preceeded by \\";
> +const char e_lexslash[]              = "line %d: $ not preceded by \\";
>  const char e_lexsyntax1[]    = "syntax error at line %d: `%s' %s";
>  const char e_lexsyntax2[]    = "syntax error: `%s' %s";
>  const char e_lexsyntax3[]    = "syntax error at line %d: duplicate label %s";
> --- ksh-93t+20100301.orig/src/cmd/ksh93/sh/shcomp.c
> +++ ksh-93t+20100301/src/cmd/ksh93/sh/shcomp.c
> @@ -36,7 +36,7 @@
>       "script.]"
>  "[+?Since aliases are processed as the script is read, alias definitions "
>       "whose value requires variable expansion will not work correctly.]"
> -"[+?If \b-D\b is specifed, all double quoted strings that are preceded by "
> +"[+?If \b-D\b is specified, all double quoted strings that are preceded by "
>       "\b$\b are output.  These are the messages that need to be "
>       "translated to locale specific versions for internationalization.]"
>  "[+?If \aoutfile\a is omitted, then the results will be written to "
> --- ksh-93t+20100301.orig/src/cmd/ksh93/bltins/enum.c
> +++ ksh-93t+20100301/src/cmd/ksh93/bltins/enum.c
> @@ -27,7 +27,7 @@
>  "[+DESCRIPTION?\benum\b is a declaration command that creates an enumeration 
> "
>      "type \atypename\a that can only store any one of the values in the 
> indexed "
>      "array variable \atypename\a.]"
> -"[+?If the list of \avalue\as is ommitted, then \atypename\a must name an "
> +"[+?If the list of \avalue\as is omitted, then \atypename\a must name an "
>      "indexed array variable with at least two elements.]" 
>  "[i:ignorecase?The values are case insensitive.]"
>  "\n"
> --- ksh-93t+20100301.orig/src/lib/libcmd/uname.c
> +++ ksh-93t+20100301/src/lib/libcmd/uname.c
> @@ -34,7 +34,7 @@
>  "[+DESCRIPTION?By default \buname\b writes the operating system name to"
>  "    standard output. When options are specified, one or more"
>  "    system characteristics are written to standard output, space"
> -"    separated, on a single line. When more than one option is specifed"
> +"    separated, on a single line. When more than one option is specified"
>  "    the output is in the order specfied by the \b-A\b option below."
>  "    Unsupported option values are listed as \a[option]]\a. If any unknown"
>  "    options are specified then the local \b/usr/bin/uname\b is called.]"
> --- ksh-93t+20100301.orig/src/lib/libast/include/regex.h
> +++ ksh-93t+20100301/src/lib/libast/include/regex.h
> @@ -117,7 +117,7 @@
>  #define REG_BADBR    10              /* invalid {...} digits         */
>  #define REG_ERANGE   11              /* invalid [...] range endpoint */
>  #define REG_ESPACE   12              /* out of space                 */
> -#define REG_BADRPT   13              /* unary op not preceeded by re */
> +#define REG_BADRPT   13              /* unary op not preceded by re  */
>  #define REG_ENULL    14              /* empty subexpr in pattern     */
>  #define REG_ECOUNT   15              /* re component count overflow  */
>  #define REG_BADESC   16              /* invalid \char escape         */
> --- ksh-93t+20100301.orig/src/lib/libast/regex/regerror.c
> +++ ksh-93t+20100301/src/lib/libast/regex/regerror.c
> @@ -45,7 +45,7 @@
>       /* REG_BADBR    */      "invalid {...} digits",
>       /* REG_ERANGE   */      "invalid [...] range endpoint",
>       /* REG_ESPACE   */      "out of space",
> -     /* REG_BADRPT   */      "unary op not preceeded by re",
> +     /* REG_BADRPT   */      "unary op not preceded by re",
>       /* REG_ENULL    */      "empty subexpr in pattern",
>       /* REG_ECOUNT   */      "re component count overflow",
>       /* REG_BADESC   */      "invalid \\char escape",
> --- ksh-93t+20100301.orig/src/lib/libast/man/stropt.3
> +++ ksh-93t+20100301/src/lib/libast/man/stropt.3
> @@ -93,7 +93,7 @@
>  .I n
>  is 0 if
>  .B no
> -preceeded the option
> +preceded the option
>  .I name
>  and
>  .I v
> _______________________________________________
> ast-users mailing list
> [email protected]
> https://mailman.research.att.com/mailman/listinfo/ast-users

_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users

Reply via email to