GNU bug report logs - #61405
[PATCH] maint: fix some typos in comments

Previous Next

Package: coreutils;

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

Date: Fri, 10 Feb 2023 16:59:02 UTC

Severity: normal

Tags: patch

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

Bug is archived. No further changes may be made.

Full log


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

From: Pádraig Brady <P <at> draigBrady.com>
To: ChuanGang Jiang <jiangchuanganghw <at> outlook.com>, 61405-done <at> debbugs.gnu.org
Subject: Re: bug#61405: [PATCH] maint: fix some typos in comments
Date: Fri, 10 Feb 2023 18:09:20 +0000
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




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

Previous Next


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