Subject: bug#61405: closed (Re: bug#61405: [PATCH] maint: fix some typos in comments)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 10 Feb 2023 18:10:02 +0000

Your bug report

#61405: [PATCH] maint: fix some typos in comments

which was filed against the coreutils package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
61405: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=61405
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#61405: [PATCH] maint: fix some typos in comments
From: Pádraig Brady <[email-masked]>
To: ChuanGang Jiang <[email-masked]>, [email-masked]
Date: Fri, 10 Feb 2023 18:09:20 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

On 10/02/2023 15:41, ChuanGang Jiang wrote:
> * NEWS : s/commmand/command/
> * src/expand-common.c: s/specifed/specified/
> * src/pr.c: s/e.g/e.g./
> * tests/misc/comm.pl: s/ouput/output/
> ---
>   NEWS                | 2 +-
>   src/expand-common.c | 2 +-
>   src/pr.c            | 2 +-
>   tests/misc/comm.pl  | 2 +-
>   4 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/NEWS b/NEWS
> index 04088af70..3d0ede150 100644
> --- a/NEWS
> +++ b/NEWS
> @@ -2683,7 +2683,7 @@ GNU coreutils NEWS                                    -*- outline -*-
> 
>     rm -r --one-file-system works once again.
>     The rewrite to make rm use fts introduced a regression whereby
> -  a commmand of the above form would fail for all subdirectories.
> +  a command of the above form would fail for all subdirectories.
>     [bug introduced in coreutils-8.0]
> 
>     stat -f recognizes more file system types: k-afs, fuseblk, gfs/gfs2, ocfs2,
> diff --git a/src/expand-common.c b/src/expand-common.c
> index 36db6aad9..4969e2e07 100644
> --- a/src/expand-common.c
> +++ b/src/expand-common.c
> @@ -34,7 +34,7 @@ bool convert_entire_line = false;
>   /* If nonzero, the size of all tab stops.  If zero, use 'tab_list' instead.  */
>   static uintmax_t tab_size = 0;
> 
> -/* If nonzero, the size of all tab stops after the last specifed.  */
> +/* If nonzero, the size of all tab stops after the last specified.  */
>   static uintmax_t extend_size = 0;
> 
>   /* If nonzero, an increment for additional tab stops after the last specified.*/
> diff --git a/src/pr.c b/src/pr.c
> index ec624bffd..28a695242 100644
> --- a/src/pr.c
> +++ b/src/pr.c
> @@ -2626,7 +2626,7 @@ print_stored (COLUMN *p)
>      sequences or control prefixes.
> 
>      Note: the width of a clump is not necessarily equal to the number of
> -   characters in clump_buff.  (e.g, the width of '\b' is -1, while the
> +   characters in clump_buff.  (e.g., the width of '\b' is -1, while the
>      number of characters is 1.) */
> 
>   static int
> diff --git a/tests/misc/comm.pl b/tests/misc/comm.pl
> index 5de60ac33..aaaf46522 100755
> --- a/tests/misc/comm.pl
> +++ b/tests/misc/comm.pl
> @@ -24,7 +24,7 @@ use strict;
> 
>   my $prog = 'comm';
> 
> -# Turn off localization of executable's ouput.
> +# Turn off localization of executable's output.
>   @ENV{qw(LANGUAGE LANG LC_ALL)} = ('C') x 3;
> 
>   my @inputs = ({IN=>{a=>"1\n3\n3\n3"}}, {IN=>{b=>"2\n2\n3\n3\n3"}});
> --
> 2.36.1

Pushed.
Marking this as done.

thank you,
Pádraig

Subject: [PATCH] maint: fix some typos in comments
From: ChuanGang Jiang <[email-masked]>
To: "[email-masked]" <[email-masked]>
Date: Fri, 10 Feb 2023 15:41:33 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

* NEWS : s/commmand/command/
* src/expand-common.c: s/specifed/specified/
* src/pr.c: s/e.g/e.g./
* tests/misc/comm.pl: s/ouput/output/
---
 NEWS                | 2 +-
 src/expand-common.c | 2 +-
 src/pr.c            | 2 +-
 tests/misc/comm.pl  | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/NEWS b/NEWS
index 04088af70..3d0ede150 100644
--- a/NEWS
+++ b/NEWS
@@ -2683,7 +2683,7 @@ GNU coreutils NEWS                                    -*- outline -*-

   rm -r --one-file-system works once again.
   The rewrite to make rm use fts introduced a regression whereby
-  a commmand of the above form would fail for all subdirectories.
+  a command of the above form would fail for all subdirectories.
   [bug introduced in coreutils-8.0]

   stat -f recognizes more file system types: k-afs, fuseblk, gfs/gfs2, ocfs2,
diff --git a/src/expand-common.c b/src/expand-common.c
index 36db6aad9..4969e2e07 100644
--- a/src/expand-common.c
+++ b/src/expand-common.c
@@ -34,7 +34,7 @@ bool convert_entire_line = false;
 /* If nonzero, the size of all tab stops.  If zero, use 'tab_list' instead.  */
 static uintmax_t tab_size = 0;

-/* If nonzero, the size of all tab stops after the last specifed.  */
+/* If nonzero, the size of all tab stops after the last specified.  */
 static uintmax_t extend_size = 0;

 /* If nonzero, an increment for additional tab stops after the last specified.*/
diff --git a/src/pr.c b/src/pr.c
index ec624bffd..28a695242 100644
--- a/src/pr.c
+++ b/src/pr.c
@@ -2626,7 +2626,7 @@ print_stored (COLUMN *p)
    sequences or control prefixes.

    Note: the width of a clump is not necessarily equal to the number of
-   characters in clump_buff.  (e.g, the width of '\b' is -1, while the
+   characters in clump_buff.  (e.g., the width of '\b' is -1, while the
    number of characters is 1.) */

 static int
diff --git a/tests/misc/comm.pl b/tests/misc/comm.pl
index 5de60ac33..aaaf46522 100755
--- a/tests/misc/comm.pl
+++ b/tests/misc/comm.pl
@@ -24,7 +24,7 @@ use strict;

 my $prog = 'comm';

-# Turn off localization of executable's ouput.
+# Turn off localization of executable's output.
 @ENV{qw(LANGUAGE LANG LC_ALL)} = ('C') x 3;

 my @inputs = ({IN=>{a=>"1\n3\n3\n3"}}, {IN=>{b=>"2\n2\n3\n3\n3"}});
--
2.36.1