]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
doc: du, sort, wc: adjust description of --files0-from
authorCollin Funk <collin.funk1@gmail.com>
Thu, 27 Nov 2025 03:17:43 +0000 (19:17 -0800)
committerCollin Funk <collin.funk1@gmail.com>
Thu, 27 Nov 2025 03:30:41 +0000 (19:30 -0800)
* src/du.c (usage): Remove an unnecessary "then".
* src/wc.c (usage): Likewise. Add a comma after "-".
* src/sort.c (usage): Likewise. Adjust the indentation to match du and
wc.

src/du.c
src/sort.c
src/wc.c

index 105acb2dfd07dc954d25d8a0549d95516fe284c9..80d0b53d165b72686d92dc49a0176e2cac380b15 100644 (file)
--- a/src/du.c
+++ b/src/du.c
@@ -312,7 +312,7 @@ Summarize device usage of the set of FILEs, recursively for directories.\n\
       fputs (_("\
       --files0-from=F   summarize device usage of the\n\
                           NUL-terminated file names specified in file F;\n\
-                          if F is -, then read names from standard input\n\
+                          if F is -, read names from standard input\n\
   -H                    equivalent to --dereference-args (-D)\n\
   -h, --human-readable  print sizes in human readable format (e.g., 1K 234M 2G)\
 \n\
index 671a953d2c018d55e1b72b4b3d74929140c2f738..26afc97ec5cca9f4675d61ed7493570bf8d7dbb5 100644 (file)
@@ -484,8 +484,8 @@ Other options:\n\
       --debug               annotate the part of the line used to sort, and\n\
                               warn about questionable usage to standard error\n\
       --files0-from=F       read input from the files specified by\n\
-                            NUL-terminated names in file F;\n\
-                            If F is - then read names from standard input\n\
+                              NUL-terminated names in file F;\n\
+                              If F is -, read names from standard input\n\
 "), stdout);
       fputs (_("\
   -k, --key=KEYDEF          sort via a key; KEYDEF gives location and type\n\
index 6b46412fb8cca4c26c39eb2c5876ff3ed7890697..d2ffb03b3703c3d9943cea5b58149caf05abbcee 100644 (file)
--- a/src/wc.c
+++ b/src/wc.c
@@ -194,7 +194,7 @@ the following order: newline, word, character, byte, maximum line length.\n\
       fputs (_("\
       --files0-from=F    read input from the files specified by\n\
                            NUL-terminated names in file F;\n\
-                           If F is - then read names from standard input\n\
+                           If F is -, read names from standard input\n\
   -L, --max-line-length  print the maximum display width\n\
   -w, --words            print the word counts\n\
 "), stdout);