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/man3/errno.3 | |
| 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/man3/errno.3')
| -rw-r--r-- | man/man3/errno.3 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/man/man3/errno.3 b/man/man3/errno.3 index 786dec8242..bfe6599537 100644 --- a/man/man3/errno.3 +++ b/man/man3/errno.3 @@ -599,7 +599,7 @@ A common mistake is to do .in +4n .EX if (somecall() == \-1) { - printf("somecall() failed\en"); + printf("somecall() failed\[rs]n"); if (errno == ...) { ... } } .EE @@ -619,7 +619,7 @@ should be preserved across a library call, it must be saved: .EX if (somecall() == \-1) { int errsv = errno; - printf("somecall() failed\en"); + printf("somecall() failed\[rs]n"); if (errsv == ...) { ... } } .EE |
