bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: ChuanGang Jiang
Subject: bug#61405: [PATCH] maint: fix some typos in comments
Date: Fri, 10 Feb 2023 15:41:33 +0000

* 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 via email to

[Prev in Thread] Current Thread [Next in Thread]