diff options
| author | Alejandro Colomar <alx@kernel.org> | 2023-02-05 17:03:19 +0100 |
|---|---|---|
| committer | Alejandro Colomar <alx@kernel.org> | 2023-02-05 17:03:21 +0100 |
| commit | b957f81fddf0d038c365bce226a677de6ceb1bbb (patch) | |
| tree | fbc19481b5548d067213ca2201a674682a53f192 /man3/basename.3 | |
| parent | 75c018a1d6474ffa1779ac8e8d98ad865c255aee (diff) | |
| download | man-pages-b957f81fddf0d038c365bce226a677de6ceb1bbb.tar.gz | |
Many pages: Use \[aq] instead of \(aq
This improves readability in the source code, since it delimits where
the escape sequence ends.
Cc: наб <nabijaczleweli@nabijaczleweli.xyz>
Cc: "G. Branden Robinson" <g.branden.robinson@gmail.com>
Cc: Brian Inglis <Brian.Inglis@Shaw.ca>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'man3/basename.3')
| -rw-r--r-- | man3/basename.3 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/man3/basename.3 b/man3/basename.3 index 72cfa57eab..6f22bb58cc 100644 --- a/man3/basename.3 +++ b/man3/basename.3 @@ -31,10 +31,10 @@ break a null-terminated pathname string into directory and filename components. In the usual case, .BR dirname () -returns the string up to, but not including, the final \(aq/\(aq, and +returns the string up to, but not including, the final \[aq]/\[aq], and .BR basename () -returns the component following the final \(aq/\(aq. -Trailing \(aq/\(aq characters are not counted as part of the pathname. +returns the component following the final \[aq]/\[aq]. +Trailing \[aq]/\[aq] characters are not counted as part of the pathname. .PP If .I path @@ -164,7 +164,7 @@ such as "/usr/". .PP Before glibc 2.2.1, the glibc version of .BR dirname () -did not correctly handle pathnames with trailing \(aq/\(aq characters, +did not correctly handle pathnames with trailing \[aq]/\[aq] characters, and generated a segfault if given a NULL argument. .SH EXAMPLES The following code snippet demonstrates the use of |
