diff options
| author | Alejandro Colomar <alx@kernel.org> | 2024-06-15 20:29:33 +0200 |
|---|---|---|
| committer | Alejandro Colomar <alx@kernel.org> | 2024-06-15 20:44:44 +0200 |
| commit | f8fac7b28e2adb3a7a7ab7f7f28dd764f9c8ea7a (patch) | |
| tree | 67133d81bc54c1d773a2919e5d81120f770b26fb /man/man7/unix.7 | |
| parent | 6fc32a0a6ae2cedf2e954b8b48cf8ba0d5ddf2a1 (diff) | |
| download | man-pages-f8fac7b28e2adb3a7a7ab7f7f28dd764f9c8ea7a.tar.gz | |
man/: srcfix: Use \[rs] instead of \e
Scripted change:
$ find man -type f \
| xargs grep -l '\\e' \
| xargs sed -i 's/\\e/\\[rs]/g';
Link: <https://lore.kernel.org/linux-man/20240611122453.qn6jyl4go4bvwkqm@illithid/>
Suggested-by: "G. Branden Robinson" <branden@debian.org>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'man/man7/unix.7')
| -rw-r--r-- | man/man7/unix.7 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/man/man7/unix.7 b/man/man7/unix.7 index 433ac02f40..f291508bfb 100644 --- a/man/man7/unix.7 +++ b/man/man7/unix.7 @@ -141,7 +141,7 @@ abstract an abstract socket address is distinguished (from a pathname socket) by the fact that .I sun_path[0] -is a null byte (\[aq]\e0\[aq]). +is a null byte (\[aq]\[rs]0\[aq]). The socket's address in this namespace is given by the additional bytes in .I sun_path @@ -913,7 +913,7 @@ memset(addrp, 0, addrlen + 1); if (getsockname(sfd, (struct sockaddr *) addrp, &addrlen)) == \-1) /* handle error */ ; \& -printf("sun_path = %s\en", ((struct sockaddr_un *) addrp)\->sun_path); +printf("sun_path = %s\[rs]n", ((struct sockaddr_un *) addrp)\->sun_path); .EE .in .P @@ -1165,7 +1165,7 @@ main(int argc, char *argv[]) ret = connect(data_socket, (const struct sockaddr *) &addr, sizeof(addr)); if (ret == \-1) { - fprintf(stderr, "The server is down.\en"); + fprintf(stderr, "The server is down.\[rs]n"); exit(EXIT_FAILURE); } \& @@ -1200,7 +1200,7 @@ main(int argc, char *argv[]) \& buffer[sizeof(buffer) \- 1] = 0; \& - printf("Result = %s\en", buffer); + printf("Result = %s\[rs]n", buffer); \& /* Close socket. */ \& |
