bug-coreutils@gnu.org mirror (unofficial)
 help / color / mirror / Atom feed
From: ChuanGang Jiang <jiangchuanganghw@outlook.com>
To: 61405@debbugs.gnu.org
Subject: bug#61405: [PATCH] maint: fix some typos in comments
Date: Fri, 10 Feb 2023 15:41:33 +0000	[thread overview]
Message-ID: <SEZPR02MB5863352582E0B8CA79EE33A8D6DE9@SEZPR02MB5863.apcprd02.prod.outlook.com> (raw)

* 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

             reply	other threads:[~2023-02-10 16:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-10 15:41 ChuanGang Jiang [this message]
2023-02-10 18:09 ` bug#61405: [PATCH] maint: fix some typos in comments Pádraig Brady

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.gnu.org/mailman/listinfo/bug-coreutils

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=SEZPR02MB5863352582E0B8CA79EE33A8D6DE9@SEZPR02MB5863.apcprd02.prod.outlook.com \
    --to=jiangchuanganghw@outlook.com \
    --cc=61405@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).