[PATCH 31/40] xargs/xargs.1: Set file names in bold, not roman.
"G. Branden Robinson" <[email protected]> Thu, 13 Nov 2025 10:50:22 -0600
| Newsgroups | gmane.comp.gnu.findutils.bugs |
|---|---|
| Message-ID | <20251113165022.nosndhiqn3vxdnzw@illithid> |
groff_man_style(7):
Font style macros
...
.I [text]
Set text in an italic or oblique face. Given no argument, I
plants a one‐line input trap; text on the next line, which
can be further formatted with a macro, is set in an italic
or oblique face.
Use italics for file and path names, for environment
variables, for C data types, for enumeration or preprocessor
constants in C, for variant (user‐replaceable) portions of
syntax synopses, for the first occurrence (only) of a
technical concept being introduced, for names of journals
and of literary works longer than an article, and anywhere a
parameter requiring replacement by the user is encountered.
An exception involves variant text in a context already
typeset in italics, such as file or path names with
replaceable components; in such cases, follow the convention
of mathematical typography: set the file or path name in
italics as usual but use roman for the variant part (see IR
and RI below), and italics again in running roman text when
referring to the variant material.
---
xargs/xargs.1 | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/xargs/xargs.1 b/xargs/xargs.1
index 3b7f5f86..958159e6 100644
--- a/xargs/xargs.1
+++ b/xargs/xargs.1
@@ -402,9 +402,9 @@ .SH "EXAMPLES"
.fi
.P
Find files named
-.B core
+.I core
in or below the directory
-.B /tmp
+.I /tmp
and delete them.
Note that this will work incorrectly if there are
any filenames containing newlines or spaces.
@@ -413,9 +413,9 @@ .SH "EXAMPLES"
.B "find /tmp \-name core \-type f \-print0 | xargs \-0 /bin/rm \-f"
.P
Find files named
-.B core
+.I core
in or below the directory
-.B /tmp
+.I /tmp
and delete them, processing filenames in such a way that file or
directory names containing spaces or newlines are correctly handled.
.
@@ -423,9 +423,9 @@ .SH "EXAMPLES"
.B "find /tmp \-depth \-name core \-type f \-delete"
.P
Find files named
-.B core
+.I core
in or below the directory
-.B /tmp
+.I /tmp
and delete them, but more efficiently than in the previous example
(because we avoid the need to use
.BR fork (2)
--
2.30.2
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEh3PWHWjjDgcrENwa0Z6cfXEmbc4FAmkWDE4ACgkQ0Z6cfXEm bc47rhAAnhPUyI/GyU/4zdETEBvZEAyLzaw31+QqjMlqZEkb7rDLdNsIDMeCa3g8 bKeexPCFloMX2KjJjvsUxDk0vblplTv+lei2kixuiLVc4plP5RkTQVNgBYCrad6v zY4kLLgRi5FYBWxpX5KczUwNz9u4p1TjuOSdagQC10CGEfmO777gl27Z0uI5nrGm hZcHm9kAe0sqBxPKK0r18+jj6Tzf/u9PKPVWFqnmCxroho8BfsU5EQM/3S1gRSQf ihAwSI5Jnrohg/AeqD97lAnMmQrehNSjTMBpZC8/n0IuivS2lWLWr+jPRaZEKMzp 1s4ogREQuUzwtZBuyr0hZ4s/9Yw/o+PqLJO9rZa1803t6SQdkv70vCvjrRPN9XV4 nwrsvUZ4tOBM5E8JW/Ovmu9LlKC9TTg6D2MS2nvCChsyFhfuoezzdcfZ4g1+3V7D xlmLjQtk8bmt8qgPXstE3vGhOJ4pLIKfq/XuLHUTrDGPa1SkyY7ceUfKs4ZuJ5Mu iwLsr48r6+eCc4Lgk+DSjkYcQmGQx/XeyEZMInXltzqHM4xm0wUbapx2ieAXoCFQ V68uPlPtRYEzrncFP+W7T3zQKPbKpd7uuEMzOr4pQeI99Ggoux2/jbwRAvD94c47 O4/m4DoVX9liMiqYD3EplaU/oXIlCEUvIxFc4rxN6d9XD6S82Yw= =ilZY -----END PGP SIGNATURE-----