]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
doc: apply man page formatting suggestions from manpage-l10n
authorPádraig Brady <P@draigBrady.com>
Sat, 25 Apr 2026 18:01:53 +0000 (19:01 +0100)
committerPádraig Brady <P@draigBrady.com>
Sat, 25 Apr 2026 18:04:12 +0000 (19:04 +0100)
* src/basenc.c: Add (1) to base64 and base32 references.
* src/cksum.c. Likewise for cksum references.
* src/echo.c: Use "bell" in descriptions rather than BEL.
* src/printf.c: Likewise.
* src/id.c: Separate -u,-U,-G so marked up appropriately.
Fixes https://bugs.gnu.org/80904

src/basenc.c
src/cksum.c
src/echo.c
src/id.c
src/printf.c

index cd86b106a661756ba5660d25778bbd6925f65d72..4da824e6ce01837a346bc9a8a4880a05b7c676b0 100644 (file)
@@ -119,7 +119,7 @@ Base%d encode or decode FILE, or standard input, to standard output.\n\
 #if BASE_TYPE == 42
       oputs (_("\
       --base64\n\
-         same as 'base64' program (RFC4648 section 4)\n\
+         same as base64(1) program (RFC4648 section 4)\n\
 "));
       oputs (_("\
       --base64url\n\
@@ -131,7 +131,7 @@ Base%d encode or decode FILE, or standard input, to standard output.\n\
 "));
       oputs (_("\
       --base32\n\
-         same as 'base32' program (RFC4648 section 6)\n\
+         same as base32(1) program (RFC4648 section 6)\n\
 "));
       oputs (_("\
       --base32hex\n\
index 3a59e45ca42697ceb57a181978713b5137b86b4a..ffd9a82d54878b814e4b920b10474830c168541b 100644 (file)
@@ -502,7 +502,7 @@ Usage: %s [OPTION]... [FILE]...\n\
 Print or check %s checksums.\n\
 "), DIGEST_TYPE_STRING);
         fputs (_("\
-Legacy interface to the cksum utility.\n\
+Legacy interface to the cksum(1) utility.\n\
 "), stdout);
       }
     else
@@ -517,7 +517,7 @@ Print or check %s (%d-bit) checksums.\n\
               DIGEST_TYPE_STRING,
               DIGEST_BITS);
       fputs (_("\
-Legacy interface to the cksum utility.\n\
+Legacy interface to the cksum(1) utility.\n\
 "), stdout);
 #endif
 
index 872f11c748d7fc2c1190051fc29334b073954e1e..d64306d7a41cf5e6dacc9696c328d162bcc99891 100644 (file)
@@ -74,7 +74,7 @@ If -e is in effect, the following sequences are recognized:\n\
 "), stdout);
   fputs (_("\
   \\\\      backslash\n\
-  \\a      alert (BEL)\n\
+  \\a      alert (bell)\n\
   \\b      backspace\n\
   \\c      produce no further output\n\
   \\e      escape\n\
index 27b3e8b708da340e3865293f0d77e428fc1aa75c..b5a3077219fef007cd3dac74e71f627f384d4db1 100644 (file)
--- a/src/id.c
+++ b/src/id.c
@@ -115,11 +115,11 @@ or (when USER omitted) for the current process.\n\
 "));
       oputs (_("\
   -n, --name\n\
-         print a name instead of a number, for -u,-g,-G\n\
+         print a name instead of a number, for -u, -g, -G\n\
 "));
       oputs (_("\
   -r, --real\n\
-         print the real ID instead of the effective ID, with -u,-g,-G\n\
+         print the real ID instead of the effective ID, with -u, -g, -G\n\
 "));
       oputs (_("\
   -u, --user\n\
index 674dd7d07cf53f24a827ad40558732fd146e70c6..5fb4c7c86ff783d3eb4174844792a169301848fc 100644 (file)
@@ -69,7 +69,7 @@ FORMAT controls the output as in C printf.  Interpreted sequences are:\n\
 "), stdout);
       fputs (_("\
   \\\\      backslash\n\
-  \\a      alert (BEL)\n\
+  \\a      alert (bell)\n\
   \\b      backspace\n\
   \\c      produce no further output\n\
   \\e      escape\n\