GNU bug report logs - #61681
[PATCH]maint: fix some typos

Previous Next

Package: coreutils;

Reported by: ChuanGang Jiang <jiangchuanganghw <at> outlook.com>

Date: Tue, 21 Feb 2023 14:58:02 UTC

Severity: normal

Tags: patch

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 61681 in the body.
You can then email your comments to 61681 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#61681; Package coreutils. (Tue, 21 Feb 2023 14:58:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to ChuanGang Jiang <jiangchuanganghw <at> outlook.com>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Tue, 21 Feb 2023 14:58:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: ChuanGang Jiang <jiangchuanganghw <at> outlook.com>
To: "bug-coreutils <at> gnu.org" <bug-coreutils <at> gnu.org>
Subject: [PATCH]maint: fix some typos 
Date: Tue, 21 Feb 2023 14:18:52 +0000
* doc/coreutils.texi: s/functionalty/functionality/,
   s/sychronize/synchronize/, s/millsecond/millisecond/
   s/paramter/parameters/
* init.cfg: s/parmeters/parameters/
* scripts/build-older-versions/README.older-versions: s/vesion/version/
* tests/misc/env-S-script.sh: s/paramaters/parameters/
---
 doc/coreutils.texi                                 | 10 +++++-----
 init.cfg                                           |  2 +-
 scripts/build-older-versions/README.older-versions |  2 +-
 tests/misc/env-S-script.sh                         |  2 +-
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index 412c513a0..eedd7a374 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -2237,7 +2237,7 @@ into (or from) base32 encoded form.  The base32 encoded form uses
 printable ASCII characters to represent binary data.
 The usage and options of this command are precisely the
 same as for @command{base64}.  @xref{base64 invocation}.
-For more general encoding functionalty see @ref{basenc invocation}.
+For more general encoding functionality see @ref{basenc invocation}.


 @node base64 invocation
@@ -2261,7 +2261,7 @@ The base32 encoding expands data to roughly 160% of the original.
 The format conforms to
 @uref{https://tools.ietf.org/search/rfc4648, RFC 4648}.

-For more general encoding functionalty see @ref{basenc invocation}.
+For more general encoding functionality see @ref{basenc invocation}.

 The program accepts the following options.  Also see @ref{Common options}.

@@ -12767,7 +12767,7 @@ of attribute access, especially useful with remote file systems.
 Always read the already cached attributes if available.

 @item never
-Always sychronize with the latest file system attributes.
+Always synchronize with the latest file system attributes.
 This also mounts automounted files.

 @item default
@@ -16683,7 +16683,7 @@ Display the timestamp resolution instead of the time.
 Current clock timestamps that are output by @command{date}
 are integer multiples of the timestamp resolution.
 With this option, the format defaults to @samp{%s.%N}.
-For example, if the clock resolution is 1 millsecond,
+For example, if the clock resolution is 1 millisecond,
 the output is:

 @example
@@ -17940,7 +17940,7 @@ prompt.
 @cindex @command{env -S}, and single quotes
 @cindex @option{-S}, env and single quotes
 To test @command{env -S} on the command line, use single quotes for the
-@option{-S} string to emulate a single paramter. Single quotes are not
+@option{-S} string to emulate a single parameter. Single quotes are not
 needed when using @command{env -S} in a shebang line on the first line of a
 script (the operating system already treats it as one argument).

diff --git a/init.cfg b/init.cfg
index 8b2d68b22..125de7f95 100644
--- a/init.cfg
+++ b/init.cfg
@@ -603,7 +603,7 @@ gcc_shared_libs_=

 # Compile a shared lib using the GCC options for doing so.
 # Pass input and output file as parameters respectively.
-# Any other optional parmeters are passed to $CC.
+# Any other optional parameters are passed to $CC.
 gcc_shared_()
 {
   local in=$1
diff --git a/scripts/build-older-versions/README.older-versions b/scripts/build-older-versions/README.older-versions
index 690f9f0e0..e076fe931 100644
--- a/scripts/build-older-versions/README.older-versions
+++ b/scripts/build-older-versions/README.older-versions
@@ -35,7 +35,7 @@ Details
 GLibC version 2.28 removed non-standed headre file (libio.h) and some
 internal symbols which were used by gnulib (a core component of GNU coreutils).

-These were announced as 'deprecated' in vesion 2.27 [1], and removed in
+These were announced as 'deprecated' in version 2.27 [1], and removed in
 version 2.28. Gnulib code was adjusted shortly after [2],
 but the code changes obviously can't be retroactively made to
 previously-released coreutils versions.
diff --git a/tests/misc/env-S-script.sh b/tests/misc/env-S-script.sh
index ace112c0d..1d9b3e268 100755
--- a/tests/misc/env-S-script.sh
+++ b/tests/misc/env-S-script.sh
@@ -69,7 +69,7 @@ compare exp1 out1 || fail=1


 # similar to the above test but with quotes, the first parameter should be
-# 'A B' and not two paramaters 'A','B'.
+# 'A B' and not two parameters 'A','B'.
 # Ignoring the absolute paths, the script is:
 #     #!env -S printf x%sx\n "A B"
 printf "#!$dir/env -S $dir/printf "'x%%sx\\n "A B"\n' > env2 ||
--
2.36.1

Reply sent to Pádraig Brady <P <at> draigBrady.com>:
You have taken responsibility. (Tue, 21 Feb 2023 16:25:01 GMT) Full text and rfc822 format available.

Notification sent to ChuanGang Jiang <jiangchuanganghw <at> outlook.com>:
bug acknowledged by developer. (Tue, 21 Feb 2023 16:25:02 GMT) Full text and rfc822 format available.

Message #10 received at 61681-done <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: ChuanGang Jiang <jiangchuanganghw <at> outlook.com>, 61681-done <at> debbugs.gnu.org
Subject: Re: bug#61681: [PATCH]maint: fix some typos
Date: Tue, 21 Feb 2023 16:24:33 +0000
On 21/02/2023 14:18, ChuanGang Jiang wrote:
> * doc/coreutils.texi: s/functionalty/functionality/,
>     s/sychronize/synchronize/, s/millsecond/millisecond/
>     s/paramter/parameters/
> * init.cfg: s/parmeters/parameters/
> * scripts/build-older-versions/README.older-versions: s/vesion/version/
> * tests/misc/env-S-script.sh: s/paramaters/parameters/
> ---
>   doc/coreutils.texi                                 | 10 +++++-----
>   init.cfg                                           |  2 +-
>   scripts/build-older-versions/README.older-versions |  2 +-
>   tests/misc/env-S-script.sh                         |  2 +-
>   4 files changed, 8 insertions(+), 8 deletions(-)
> 
> diff --git a/doc/coreutils.texi b/doc/coreutils.texi
> index 412c513a0..eedd7a374 100644
> --- a/doc/coreutils.texi
> +++ b/doc/coreutils.texi
> @@ -2237,7 +2237,7 @@ into (or from) base32 encoded form.  The base32 encoded form uses
>   printable ASCII characters to represent binary data.
>   The usage and options of this command are precisely the
>   same as for @command{base64}.  @xref{base64 invocation}.
> -For more general encoding functionalty see @ref{basenc invocation}.
> +For more general encoding functionality see @ref{basenc invocation}.
> 
> 
>   @node base64 invocation
> @@ -2261,7 +2261,7 @@ The base32 encoding expands data to roughly 160% of the original.
>   The format conforms to
>   @uref{https://tools.ietf.org/search/rfc4648, RFC 4648}.
> 
> -For more general encoding functionalty see @ref{basenc invocation}.
> +For more general encoding functionality see @ref{basenc invocation}.
> 
>   The program accepts the following options.  Also see @ref{Common options}.
> 
> @@ -12767,7 +12767,7 @@ of attribute access, especially useful with remote file systems.
>   Always read the already cached attributes if available.
> 
>   @item never
> -Always sychronize with the latest file system attributes.
> +Always synchronize with the latest file system attributes.
>   This also mounts automounted files.
> 
>   @item default
> @@ -16683,7 +16683,7 @@ Display the timestamp resolution instead of the time.
>   Current clock timestamps that are output by @command{date}
>   are integer multiples of the timestamp resolution.
>   With this option, the format defaults to @samp{%s.%N}.
> -For example, if the clock resolution is 1 millsecond,
> +For example, if the clock resolution is 1 millisecond,
>   the output is:
> 
>   @example
> @@ -17940,7 +17940,7 @@ prompt.
>   @cindex @command{env -S}, and single quotes
>   @cindex @option{-S}, env and single quotes
>   To test @command{env -S} on the command line, use single quotes for the
> -@option{-S} string to emulate a single paramter. Single quotes are not
> +@option{-S} string to emulate a single parameter. Single quotes are not
>   needed when using @command{env -S} in a shebang line on the first line of a
>   script (the operating system already treats it as one argument).
> 
> diff --git a/init.cfg b/init.cfg
> index 8b2d68b22..125de7f95 100644
> --- a/init.cfg
> +++ b/init.cfg
> @@ -603,7 +603,7 @@ gcc_shared_libs_=
> 
>   # Compile a shared lib using the GCC options for doing so.
>   # Pass input and output file as parameters respectively.
> -# Any other optional parmeters are passed to $CC.
> +# Any other optional parameters are passed to $CC.
>   gcc_shared_()
>   {
>     local in=$1
> diff --git a/scripts/build-older-versions/README.older-versions b/scripts/build-older-versions/README.older-versions
> index 690f9f0e0..e076fe931 100644
> --- a/scripts/build-older-versions/README.older-versions
> +++ b/scripts/build-older-versions/README.older-versions
> @@ -35,7 +35,7 @@ Details
>   GLibC version 2.28 removed non-standed headre file (libio.h) and some
>   internal symbols which were used by gnulib (a core component of GNU coreutils).
> 
> -These were announced as 'deprecated' in vesion 2.27 [1], and removed in
> +These were announced as 'deprecated' in version 2.27 [1], and removed in
>   version 2.28. Gnulib code was adjusted shortly after [2],
>   but the code changes obviously can't be retroactively made to
>   previously-released coreutils versions.
> diff --git a/tests/misc/env-S-script.sh b/tests/misc/env-S-script.sh
> index ace112c0d..1d9b3e268 100755
> --- a/tests/misc/env-S-script.sh
> +++ b/tests/misc/env-S-script.sh
> @@ -69,7 +69,7 @@ compare exp1 out1 || fail=1
> 
> 
>   # similar to the above test but with quotes, the first parameter should be
> -# 'A B' and not two paramaters 'A','B'.
> +# 'A B' and not two parameters 'A','B'.
>   # Ignoring the absolute paths, the script is:
>   #     #!env -S printf x%sx\n "A B"
>   printf "#!$dir/env -S $dir/printf "'x%%sx\\n "A B"\n' > env2 ||
> --
> 2.36.1


Pushed with the commit summary adjusted to "doc:..."
since this affects user visible docs.

Marking this as done.

Thanks!
Pádraig




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 22 Mar 2023 11:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 92 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.