Skip to contentSkip to conversation

man/: Use \[rs] instead of \e

PATCH In review Alejandro Colomar 1 participant 2 messages Jun 15, 2024 Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore

Alejandro Colomar

author maintainer
#0 lore raw

PATCH 1/1 man/: Use \[rs] instead of \e

---
Range-diff against v0:
-: --------- > 1: 1fc1669e9 man/: Use \[rs] instead of \e

 man/man1/locale.1                             |   2 +-
 man/man1/memusage.1                           |   6 +-
 man/man1/pldd.1                               |   2 +-
 man/man1/sprof.1                              |   2 +-
 man/man1/time.1                               |   4 +-
 man/man2/_syscall.2                           |  10 +-
 man/man2/add_key.2                            |   4 +-
 man/man2/bind.2                               |   2 +-
 man/man2/bpf.2                                |   4 +-
 man/man2/chown.2                              |   6 +-
 man/man2/clock_getres.2                       |   4 +-
 man/man2/clone.2                              |  10 +-
 man/man2/close_range.2                        |   6 +-
 man/man2/copy_file_range.2                    |   2 +-
 man/man2/eventfd.2                            |  10 +-
 man/man2/execve.2                             |   4 +-
 man/man2/fork.2                               |   2 +-
 man/man2/futex.2                              |  12 +-
 man/man2/getdents.2                           |   6 +-
 man/man2/getrlimit.2                          |   6 +-
 man/man2/kcmp.2                               |  14 +--
 man/man2/kexec_load.2                         |   4 +-
 man/man2/keyctl.2                             |  50 ++++-----
 man/man2/listxattr.2                          |  12 +-
 man/man2/lseek.2                              |   2 +-
 man/man2/membarrier.2                         |   2 +-
 man/man2/memfd_create.2                       |  22 ++--
 man/man2/mmap.2                               |   6 +-
 man/man2/mprotect.2                           |   8 +-
 man/man2/msgop.2                              |  24 ++--
 man/man2/open_by_handle_at.2                  |  22 ++--
 man/man2/perf_event_open.2                    |   6 +-
 man/man2/pidfd_open.2                         |   4 +-
 man/man2/pidfd_send_signal.2                  |   2 +-
 man/man2/pipe.2                               |   4 +-
 man/man2/poll.2                               |  18 +--
 man/man2/readdir.2                            |   2 +-
 man/man2/readlink.2                           |   8 +-
 man/man2/readv.2                              |   2 +-
 man/man2/recvmmsg.2                           |   2 +-
 man/man2/request_key.2                        |   6 +-
 man/man2/sched_setaffinity.2                  |   2 +-
 man/man2/seccomp.2                            |  10 +-
 man/man2/seccomp_unotify.2                    |  58 +++++-----
 man/man2/select.2                             |   4 +-
 man/man2/select_tut.2                         |  34 +++---
 man/man2/semget.2                             |   8 +-
 man/man2/sendmmsg.2                           |   2 +-
 man/man2/setns.2                              |   2 +-
 man/man2/shmop.2                              |  12 +-
 man/man2/signalfd.2                           |   8 +-
 man/man2/spu_run.2                            |   2 +-
 man/man2/stat.2                               |  34 +++---
 man/man2/sysctl.2                             |   2 +-
 man/man2/tee.2                                |   2 +-
 man/man2/timer_create.2                       |  20 ++--
 man/man2/timerfd_create.2                     |   6 +-
 man/man2/truncate.2                           |   2 +-
 man/man2/uname.2                              |   2 +-
 man/man2/unshare.2                            |  20 ++--
 man/man2/userfaultfd.2                        |  18 +--
 man/man2/ustat.2                              |   2 +-
 man/man2/wait.2                               |  10 +-
 man/man2const/FAT_IOCTL_GET_VOLUME_ID.2const  |   6 +-
 man/man2const/FAT_IOCTL_SET_ATTRIBUTES.2const |   8 +-
 man/man2const/NS_GET_USERNS.2const            |  20 ++--
 man/man2const/PR_SET_VMA.2const               |   2 +-
 man/man2const/TCSETS.2const                   |   8 +-
 man/man2const/TIOCPKT.2const                  |   2 +-
 man/man2const/VFAT_IOCTL_READDIR_BOTH.2const  |   4 +-
 man/man3/CPU_SET.3                            |   4 +-
 man/man3/MAX.3                                |   4 +-
 man/man3/_Generic.3                           |  16 +--
 man/man3/__ppc_get_timebase.3                 |   4 +-
 man/man3/argz_add.3                           |   6 +-
 man/man3/asprintf.3                           |   2 +-
 man/man3/atexit.3                             |   6 +-
 man/man3/backtrace.3                          |   6 +-
 man/man3/basename.3                           |   2 +-
 man/man3/bsearch.3                            |   4 +-
 man/man3/bswap.3                              |   4 +-
 man/man3/bzero.3                              |   2 +-
 man/man3/cacos.3                              |   6 +-
 man/man3/cacosh.3                             |   6 +-
 man/man3/catan.3                              |   6 +-
 man/man3/catanh.3                             |   6 +-
 man/man3/catgets.3                            |   2 +-
 man/man3/circleq.3                            |   2 +-
 man/man3/clock_getcpuclockid.3                |   4 +-
 man/man3/confstr.3                            |   2 +-
 man/man3/ctime.3                              |   2 +-
 man/man3/dl_iterate_phdr.3                    |   6 +-
 man/man3/dlinfo.3                             |  12 +-
 man/man3/dlopen.3                             |   6 +-
 man/man3/duplocale.3                          |   6 +-
 man/man3/encrypt.3                            |  14 +--
 man/man3/end.3                                |   8 +-
 man/man3/endian.3                             |   6 +-
 man/man3/envz_add.3                           |   4 +-
 man/man3/errno.3                              |   4 +-
 man/man3/fgetc.3                              |   2 +-
 man/man3/fgetws.3                             |   2 +-
 man/man3/fmemopen.3                           |   8 +-
 man/man3/fmtmsg.3                             |   8 +-
 man/man3/fopencookie.3                        |   6 +-
 man/man3/fputws.3                             |   2 +-
 man/man3/fread.3                              |   8 +-
 man/man3/frexp.3                              |   2 +-
 man/man3/ftw.3                                |   2 +-
 man/man3/get_nprocs.3                         |   2 +-
 man/man3/get_phys_pages.3                     |   2 +-
 man/man3/getaddrinfo.3                        |  24 ++--
 man/man3/getaddrinfo_a.3                      |  34 +++---
 man/man3/getdate.3                            |  22 ++--
 man/man3/getgrent_r.3                         |   2 +-
 man/man3/getgrouplist.3                       |  10 +-
 man/man3/getifaddrs.3                         |  10 +-
 man/man3/getline.3                            |   6 +-
 man/man3/getlogin.3                           |   2 +-
 man/man3/getmntent.3                          |   6 +-
 man/man3/getnameinfo.3                        |   4 +-
 man/man3/getopt.3                             |  26 ++---
 man/man3/getpass.3                            |   4 +-
 man/man3/getprotoent_r.3                      |  14 +--
 man/man3/getpwent_r.3                         |   2 +-
 man/man3/getpwnam.3                           |   6 +-
 man/man3/gets.3                               |   2 +-
 man/man3/getservent_r.3                       |  14 +--
 man/man3/getsubopt.3                          |  14 +--
 man/man3/glob.3                               |   2 +-
 man/man3/gnu_get_libc_version.3               |   4 +-
 man/man3/hsearch.3                            |   4 +-
 man/man3/if_nameindex.3                       |   2 +-
 man/man3/inet.3                               |   6 +-
 man/man3/inet_net_pton.3                      |  10 +-
 man/man3/inet_pton.3                          |   4 +-
 man/man3/insque.3                             |  10 +-
 man/man3/isalpha.3                            |  10 +-
 man/man3/iswblank.3                           |   2 +-
 man/man3/iswspace.3                           |   2 +-
 man/man3/list.3                               |   2 +-
 man/man3/makecontext.3                        |  18 +--
 man/man3/mallinfo.3                           |  30 ++---
 man/man3/malloc_hook.3                        |   2 +-
 man/man3/malloc_info.3                        |   6 +-
 man/man3/mallopt.3                            |   4 +-
 man/man3/matherr.3                            |  10 +-
 man/man3/mbrtowc.3                            |   8 +-
 man/man3/mbsnrtowcs.3                         |   4 +-
 man/man3/mbsrtowcs.3                          |   4 +-
 man/man3/mbstowcs.3                           |  18 +--
 man/man3/mbtowc.3                             |   2 +-
 man/man3/mcheck.3                             |   6 +-
 man/man3/mq_getattr.3                         |   8 +-
 man/man3/mq_notify.3                          |   6 +-
 man/man3/newlocale.3                          |   8 +-
 man/man3/nl_langinfo.3                        |   4 +-
 man/man3/offsetof.3                           |   4 +-
 man/man3/perror.3                             |   2 +-
 man/man3/posix_spawn.3                        |  16 +--
 man/man3/printf.3                             |  14 +--
 man/man3/pthread_attr_init.3                  |  22 ++--
 man/man3/pthread_cancel.3                     |  14 +--
 man/man3/pthread_cleanup_push.3               |  14 +--
 man/man3/pthread_create.3                     |  12 +-
 man/man3/pthread_getattr_default_np.3         |  12 +-
 man/man3/pthread_getattr_np.3                 |  26 ++---
 man/man3/pthread_getcpuclockid.3              |  12 +-
 man/man3/pthread_mutexattr_setrobust.3        |  18 +--
 man/man3/pthread_setaffinity_np.3             |   4 +-
 man/man3/pthread_setname_np.3                 |   8 +-
 man/man3/pthread_setschedparam.3              |  52 ++++-----
 man/man3/pthread_sigmask.3                    |   4 +-
 man/man3/puts.3                               |   2 +-
 man/man3/qsort.3                              |   2 +-
 man/man3/rand.3                               |   6 +-
 man/man3/readdir.3                            |   2 +-
 man/man3/recno.3                              |   2 +-
 man/man3/regex.3                              |  12 +-
 man/man3/rpmatch.3                            |   4 +-
 man/man3/rtime.3                              |   2 +-
 man/man3/scandir.3                            |   2 +-
 man/man3/scanf.3                              |   2 +-
 man/man3/sem_wait.3                           |  14 +--
 man/man3/setaliasent.3                        |   2 +-
 man/man3/setbuf.3                             |   2 +-
 man/man3/shm_open.3                           |  10 +-
 man/man3/slist.3                              |   2 +-
 man/man3/sscanf.3                             |   8 +-
 man/man3/stailq.3                             |   2 +-
 man/man3/static_assert.3                      |  20 ++--
 man/man3/stdarg.3                             |   6 +-
 man/man3/stpncpy.3                            |   4 +-
 man/man3/strchr.3                             |   2 +-
 man/man3/strcmp.3                             |  14 +--
 man/man3/strcpy.3                             |   2 +-
 man/man3/strdup.3                             |   2 +-
 man/man3/strerror.3                           |   2 +-
 man/man3/strfromd.3                           |   2 +-
 man/man3/strftime.3                           |   2 +-
 man/man3/strlen.3                             |   2 +-
 man/man3/strncat.3                            |   2 +-
 man/man3/strnlen.3                            |   4 +-
 man/man3/strsep.3                             |   8 +-
 man/man3/strstr.3                             |   2 +-
 man/man3/strtok.3                             |   8 +-
 man/man3/strtol.3                             |  14 +--
 man/man3/strtoul.3                            |   4 +-
 man/man3/strverscmp.3                         |   4 +-
 man/man3/strxfrm.3                            |   2 +-
 man/man3/sysconf.3                            |   2 +-
 man/man3/tailq.3                              |   2 +-
 man/man3/termios.3                            |  22 ++--
 man/man3/tsearch.3                            |   6 +-
 man/man3/wcpcpy.3                             |   2 +-
 man/man3/wcpncpy.3                            |   6 +-
 man/man3/wcrtomb.3                            |   8 +-
 man/man3/wcscat.3                             |   2 +-
 man/man3/wcscpy.3                             |   2 +-
 man/man3/wcslen.3                             |   2 +-
 man/man3/wcsncat.3                            |   2 +-
 man/man3/wcsncmp.3                            |   2 +-
 man/man3/wcsncpy.3                            |   2 +-
 man/man3/wcsnlen.3                            |   2 +-
 man/man3/wcsnrtombs.3                         |   4 +-
 man/man3/wcsrtombs.3                          |   4 +-
 man/man3/wcsstr.3                             |   2 +-
 man/man3/wcstok.3                             |   6 +-
 man/man3/wcstombs.3                           |   4 +-
 man/man3/wcwidth.3                            |   2 +-
 man/man3/wordexp.3                            |   2 +-
 man/man3/wprintf.3                            |   6 +-
 man/man3const/EXIT_SUCCESS.3const             |   2 +-
 man/man3const/NULL.3const                     |   2 +-
 man/man3head/printf.h.3head                   | 104 +++++++++---------
 man/man4/console_codes.4                      |  12 +-
 man/man4/dsp56k.4                             |   2 +-
 man/man4/full.4                               |   2 +-
 man/man4/initrd.4                             |   2 +-
 man/man4/loop.4                               |   6 +-
 man/man4/null.4                               |   2 +-
 man/man4/vcs.4                                |   2 +-
 man/man5/charmap.5                            |   2 +-
 man/man5/core.5                               |  12 +-
 man/man5/dir_colors.5                         |  34 +++---
 man/man5/elf.5                                |   2 +-
 man/man5/issue.5                              |   2 +-
 man/man5/locale.5                             |   2 +-
 man/man5/proc.5                               |   4 +-
 man/man5/proc_pid_cmdline.5                   |   2 +-
 man/man5/proc_pid_environ.5                   |   4 +-
 man/man5/proc_pid_maps.5                      |   2 +-
 man/man5/proc_sys.5                           |   4 +-
 man/man5/repertoiremap.5                      |   2 +-
 man/man5/sysfs.5                              |   2 +-
 man/man5/termcap.5                            |  20 ++--
 man/man5/utmp.5                               |   2 +-
 man/man7/aio.7                                |  30 ++---
 man/man7/ascii.7                              |  24 ++--
 man/man7/cgroups.7                            |   2 +-
 man/man7/charsets.7                           |   2 +-
 man/man7/complex.7                            |   2 +-
 man/man7/cpuset.7                             |   2 +-
 man/man7/environ.7                            |   2 +-
 man/man7/fanotify.7                           |  40 +++----
 man/man7/feature_test_macros.7                |  34 +++---
 man/man7/glob.7                               |   4 +-
 man/man7/inode.7                              |   2 +-
 man/man7/inotify.7                            |  18 +--
 man/man7/locale.7                             |   2 +-
 man/man7/man-pages.7                          |  18 +--
 man/man7/mount_namespaces.7                   |  12 +-
 man/man7/packet.7                             |   2 +-
 man/man7/pkeys.7                              |   6 +-
 man/man7/pthreads.7                           |   4 +-
 man/man7/regex.7                              |  20 ++--
 man/man7/rtld-audit.7                         |  22 ++--
 man/man7/sock_diag.7                          |  16 +--
 man/man7/system_data_types.7                  |   6 +-
 man/man7/unix.7                               |   8 +-
 man/man7/user_namespaces.7                    |  68 ++++++------
 man/man7/utf-8.7                              |   8 +-
 man/man8/zdump.8                              |   8 +-
 man/man8/zic.8                                |   6 +-
 284 files changed, 1173 insertions(+), 1173 deletions(-)
man/man1/locale.1 +1 -1
index 8c26f831c..5d6ab2b40 100644
@@ -198,7 +198,7 @@ .SH EXAMPLES
 $ \fBmkdir \-p $HOME/.locale\fP
 $ \fBI18NPATH=./wrk/ localedef \-f UTF\-8 \-i fi_SE $HOME/.locale/fi_SE.UTF\-8\fP
 $ \fBLOCPATH=$HOME/.locale LC_ALL=fi_SE.UTF\-8 date\fP
-$ \fBecho "export LOCPATH=\e$HOME/.locale" >> $HOME/.bashrc\fP
+$ \fBecho "export LOCPATH=\[rs]$HOME/.locale" >> $HOME/.bashrc\fP
 $ \fBecho "export LANG=fi_SE.UTF\-8" >> $HOME/.bashrc\fP
 .EE
 .SH SEE ALSO
man/man1/memusage.1 +3 -3
index b6793f6e8..0419b73f5 100644
@@ -234,7 +234,7 @@ .SS Program source
     int *p;
 \&
     size = sizeof(*p) * 100;
-    printf("malloc: %zu\en", size);
+    printf("malloc: %zu\[rs]n", size);
     p = malloc(size);
 \&
     for (i = 0; i < CYCLES; i++) {
@@ -244,11 +244,11 @@ .SS Program source
             j\-\-;
 \&
         size = sizeof(*p) * (j * 50 + 110);
-        printf("realloc: %zu\en", size);
+        printf("realloc: %zu\[rs]n", size);
         p = realloc(p, size);
 \&
         size = sizeof(*p) * ((j + 1) * 150 + 110);
-        printf("realloc: %zu\en", size);
+        printf("realloc: %zu\[rs]n", size);
         p = realloc(p, size);
     }
 \&
man/man1/pldd.1 +1 -1
index e0fa32b6e..3b374736a 100644
@@ -74,7 +74,7 @@ .SH NOTES
 .P
 .in +4n
 .EX
-$ \fBgdb \-ex "set confirm off" \-ex "set height 0" \-ex "info shared" \e\fP
+$ \fBgdb \-ex "set confirm off" \-ex "set height 0" \-ex "info shared" \[rs]\fP
         \fB\-ex "quit" \-p $pid | grep \[aq]\[ha]0x.*0x\[aq]\fP
 .EE
 .in
man/man1/sprof.1 +1 -1
index a6eb7ad3c..2e4c98d56 100644
@@ -137,7 +137,7 @@ .SH EXAMPLES
 .P
 .in +4n
 .EX
-$ \fBcc \-g \-fPIC \-shared \-Wl,\-soname,libdemo.so.1 \e\fP
+$ \fBcc \-g \-fPIC \-shared \-Wl,\-soname,libdemo.so.1 \[rs]\fP
         \fB\-o libdemo.so.1.0.1 libdemo.c\fP
 .EE
 .in
man/man1/time.1 +2 -2
index 9b7efcfd4..7729eda86 100644
@@ -57,7 +57,7 @@ .SH OPTIONS
 .IP
 .in +4n
 .EX
-"real %f\enuser %f\ensys %f\en"
+"real %f\[rs]nuser %f\[rs]nsys %f\[rs]n"
 .EE
 .in
 .IP
@@ -123,7 +123,7 @@ .SH GNU VERSION
 .SS The format string
 The format is interpreted in the usual printf-like way.
 Ordinary characters are directly copied, tab, newline,
-and backslash are escaped using \et, \en, and \e\e,
+and backslash are escaped using \[rs]t, \[rs]n, and \[rs]\[rs],
 a percent sign is represented by %%, and otherwise %
 indicates a conversion.
 The program
man/man2/_syscall.2 +5 -5
index 0b781a39e..c9b407b28 100644
@@ -140,11 +140,11 @@ .SH EXAMPLES
     int error;
 \&
     error = sysinfo(&s_info);
-    printf("code error = %d\en", error);
-    printf("Uptime = %lds\enLoad: 1 min %lu / 5 min %lu / 15 min %lu\en"
-           "RAM: total %lu / free %lu / shared %lu\en"
-           "Memory in buffers = %lu\enSwap: total %lu / free %lu\en"
-           "Number of processes = %d\en",
+    printf("code error = %d\[rs]n", error);
+    printf("Uptime = %lds\[rs]nLoad: 1 min %lu / 5 min %lu / 15 min %lu\[rs]n"
+           "RAM: total %lu / free %lu / shared %lu\[rs]n"
+           "Memory in buffers = %lu\[rs]nSwap: total %lu / free %lu\[rs]n"
+           "Number of processes = %d\[rs]n",
            s_info.uptime, s_info.loads[0],
            s_info.loads[1], s_info.loads[2],
            s_info.totalram, s_info.freeram,
man/man2/add_key.2 +2 -2
index 2b017f680..d3ce3356b 100644
@@ -252,7 +252,7 @@ .SS Program source
     key_serial_t key;
 \&
     if (argc != 4) {
-        fprintf(stderr, "Usage: %s type description payload\en",
+        fprintf(stderr, "Usage: %s type description payload\[rs]n",
                 argv[0]);
         exit(EXIT_FAILURE);
     }
@@ -264,7 +264,7 @@ .SS Program source
         exit(EXIT_FAILURE);
     }
 \&
-    printf("Key ID is %jx\en", (uintmax_t) key);
+    printf("Key ID is %jx\[rs]n", (uintmax_t) key);
 \&
     exit(EXIT_SUCCESS);
 }
man/man2/bind.2 +1 -1
index 2fec135d9..ff14507bd 100644
@@ -226,7 +226,7 @@ .SH EXAMPLES
 #define MY_SOCK_PATH "/somepath"
 #define LISTEN_BACKLOG 50
 \&
-#define handle_error(msg) \e
+#define handle_error(msg) \[rs]
     do { perror(msg); exit(EXIT_FAILURE); } while (0)
 \&
 int
man/man2/bpf.2 +2 -2
index 69e1cd933..5b0acb006 100644
@@ -1211,7 +1211,7 @@ .SH EXAMPLES
     map_fd = bpf_create_map(BPF_MAP_TYPE_ARRAY, sizeof(key),
                             sizeof(value), 256);
     if (map_fd < 0) {
-        printf("failed to create map \[aq]%s\[aq]\en", strerror(errno));
+        printf("failed to create map \[aq]%s\[aq]\[rs]n", strerror(errno));
         /* likely not run as root */
         return 1;
     }
@@ -1250,7 +1250,7 @@ .SH EXAMPLES
         assert(bpf_lookup_elem(map_fd, &key, &tcp_cnt) == 0);
         key = IPPROTO_UDP;
         assert(bpf_lookup_elem(map_fd, &key, &udp_cnt) == 0);
-        printf("TCP %lld UDP %lld packets\en", tcp_cnt, udp_cnt);
+        printf("TCP %lld UDP %lld packets\[rs]n", tcp_cnt, udp_cnt);
         sleep(1);
     }
 \&
man/man2/chown.2 +3 -3
index 5ea6f5857..7141cc3d2 100644
@@ -437,14 +437,14 @@ .SS Program source
     uid_t          uid;
     struct passwd  *pwd;
 \&
-    if (argc != 3 || argv[1][0] == \[aq]\e0\[aq]) {
-        fprintf(stderr, "%s <owner> <file>\en", argv[0]);
+    if (argc != 3 || argv[1][0] == \[aq]\[rs]0\[aq]) {
+        fprintf(stderr, "%s <owner> <file>\[rs]n", argv[0]);
         exit(EXIT_FAILURE);
     }
 \&
     uid = strtol(argv[1], &endptr, 10);  /* Allow a numeric string */
 \&
-    if (*endptr != \[aq]\e0\[aq]) {         /* Was not pure numeric string */
+    if (*endptr != \[aq]\[rs]0\[aq]) {         /* Was not pure numeric string */
         pwd = getpwnam(argv[1]);   /* Try getting UID for username */
         if (pwd == NULL) {
             perror("getpwnam");
man/man2/clock_getres.2 +2 -2
index 9c98d12e9..b2c183758 100644
@@ -492,7 +492,7 @@ .SS Program source
            (int) (ts.tv_sec % SECS_IN_DAY) / 3600,
            (int) (ts.tv_sec % 3600) / 60,
            (int) ts.tv_sec % 60);
-    printf(")\en");
+    printf(")\[rs]n");
 \&
     if (clock_getres(clock, &ts) == \-1) {
         perror("clock_getres");
@@ -500,7 +500,7 @@ .SS Program source
     }
 \&
     if (showRes)
-        printf("     resolution: %10jd.%09ld\en",
+        printf("     resolution: %10jd.%09ld\[rs]n",
                (intmax_t) ts.tv_sec, ts.tv_nsec);
 }
 \&
man/man2/clone.2 +5 -5
index 5a4add238..655e50b82 100644
@@ -1869,7 +1869,7 @@ .SS Program source
 \&
     if (uname(&uts) == \-1)
         err(EXIT_FAILURE, "uname");
-    printf("uts.nodename in child:  %s\en", uts.nodename);
+    printf("uts.nodename in child:  %s\[rs]n", uts.nodename);
 \&
     /* Keep the namespace open for a while, by sleeping.
        This allows some experimentation\-\-for example, another
@@ -1891,7 +1891,7 @@ .SS Program source
     struct utsname  uts;
 \&
     if (argc < 2) {
-        fprintf(stderr, "Usage: %s <child\-hostname>\en", argv[0]);
+        fprintf(stderr, "Usage: %s <child\-hostname>\[rs]n", argv[0]);
         exit(EXIT_SUCCESS);
     }
 \&
@@ -1910,7 +1910,7 @@ .SS Program source
     pid = clone(childFunc, stackTop, CLONE_NEWUTS | SIGCHLD, argv[1]);
     if (pid == \-1)
         err(EXIT_FAILURE, "clone");
-    printf("clone() returned %jd\en", (intmax_t) pid);
+    printf("clone() returned %jd\[rs]n", (intmax_t) pid);
 \&
     /* Parent falls through to here */
 \&
@@ -1921,11 +1921,11 @@ .SS Program source
 \&
     if (uname(&uts) == \-1)
         err(EXIT_FAILURE, "uname");
-    printf("uts.nodename in parent: %s\en", uts.nodename);
+    printf("uts.nodename in parent: %s\[rs]n", uts.nodename);
 \&
     if (waitpid(pid, NULL, 0) == \-1)    /* Wait for child */
         err(EXIT_FAILURE, "waitpid");
-    printf("child has terminated\en");
+    printf("child has terminated\[rs]n");
 \&
     exit(EXIT_SUCCESS);
 }
man/man2/close_range.2 +3 -3
index 9806638bd..efb39d698 100644
@@ -238,7 +238,7 @@ .SS Program source
                      dp\->d_name);
 \&
             len = readlink(path, target, sizeof(target));
-            printf("%s ==> %.*s\en", path, (int) len, target);
+            printf("%s ==> %.*s\[rs]n", path, (int) len, target);
         }
     }
 \&
@@ -256,12 +256,12 @@ .SS Program source
             perror(argv[j]);
             exit(EXIT_FAILURE);
         }
-        printf("%s opened as FD %d\en", argv[j], fd);
+        printf("%s opened as FD %d\[rs]n", argv[j], fd);
     }
 \&
     show_fds();
 \&
-    printf("========= About to call close_range() =======\en");
+    printf("========= About to call close_range() =======\[rs]n");
 \&
     if (close_range(3, \[ti]0U, 0) == \-1) {
         perror("close_range");
man/man2/copy_file_range.2 +1 -1
index 50ecef77c..7e4aff057 100644
@@ -263,7 +263,7 @@ .SH EXAMPLES
     struct stat  stat;
 \&
     if (argc != 3) {
-        fprintf(stderr, "Usage: %s <source> <destination>\en", argv[0]);
+        fprintf(stderr, "Usage: %s <source> <destination>\[rs]n", argv[0]);
         exit(EXIT_FAILURE);
     }
 \&
man/man2/eventfd.2 +5 -5
index 48e9e2ac6..b532af459 100644
@@ -396,7 +396,7 @@ .SS Program source
     ssize_t   s;
 \&
     if (argc < 2) {
-        fprintf(stderr, "Usage: %s <num>...\en", argv[0]);
+        fprintf(stderr, "Usage: %s <num>...\[rs]n", argv[0]);
         exit(EXIT_FAILURE);
     }
 \&
@@ -407,25 +407,25 @@ .SS Program source
     switch (fork()) {
     case 0:
         for (size_t j = 1; j < argc; j++) {
-            printf("Child writing %s to efd\en", argv[j]);
+            printf("Child writing %s to efd\[rs]n", argv[j]);
             u = strtoull(argv[j], NULL, 0);
                     /* strtoull() allows various bases */
             s = write(efd, &u, sizeof(uint64_t));
             if (s != sizeof(uint64_t))
                 err(EXIT_FAILURE, "write");
         }
-        printf("Child completed write loop\en");
+        printf("Child completed write loop\[rs]n");
 \&
         exit(EXIT_SUCCESS);
 \&
     default:
         sleep(2);
 \&
-        printf("Parent about to read\en");
+        printf("Parent about to read\[rs]n");
         s = read(efd, &u, sizeof(uint64_t));
         if (s != sizeof(uint64_t))
             err(EXIT_FAILURE, "read");
-        printf("Parent read %"PRIu64" (%#"PRIx64") from efd\en", u, u);
+        printf("Parent read %"PRIu64" (%#"PRIx64") from efd\[rs]n", u, u);
         exit(EXIT_SUCCESS);
 \&
     case \-1:
man/man2/execve.2 +2 -2
index 03dfdcdcf..997bb4724 100644
@@ -790,7 +790,7 @@ .SH EXAMPLES
 main(int argc, char *argv[])
 {
     for (size_t j = 0; j < argc; j++)
-        printf("argv[%zu]: %s\en", j, argv[j]);
+        printf("argv[%zu]: %s\[rs]n", j, argv[j]);
 \&
     exit(EXIT_SUCCESS);
 }
@@ -817,7 +817,7 @@ .SH EXAMPLES
     static char *newenviron[] = { NULL };
 \&
     if (argc != 2) {
-        fprintf(stderr, "Usage: %s <file\-to\-exec>\en", argv[0]);
+        fprintf(stderr, "Usage: %s <file\-to\-exec>\[rs]n", argv[0]);
         exit(EXIT_FAILURE);
     }
 \&
man/man2/fork.2 +1 -1
index bf491857f..ff1768bb3 100644
@@ -328,7 +328,7 @@ .SH EXAMPLES
         puts("Child exiting.");
         exit(EXIT_SUCCESS);
     default:
-        printf("Child is PID %jd\en", (intmax_t) pid);
+        printf("Child is PID %jd\[rs]n", (intmax_t) pid);
         puts("Parent exiting.");
         exit(EXIT_SUCCESS);
     }
man/man2/futex.2 +6 -6
index 3eed74412..2098bbe61 100644
@@ -645,10 +645,10 @@ .SS Futex operations
 .IP
 .in +4n
 .EX
-#define FUTEX_OP(op, oparg, cmp, cmparg) \e
-                (((op & 0xf) << 28) | \e
-                ((cmp & 0xf) << 24) | \e
-                ((oparg & 0xfff) << 12) | \e
+#define FUTEX_OP(op, oparg, cmp, cmparg) \[rs]
+                (((op & 0xf) << 28) | \[rs]
+                ((cmp & 0xf) << 24) | \[rs]
+                ((oparg & 0xfff) << 12) | \[rs]
                 (cmparg & 0xfff))
 .EE
 .in
@@ -1903,7 +1903,7 @@ .SS Program source
     if (childPid == 0) {        /* Child */
         for (unsigned int j = 0; j < nloops; j++) {
             fwait(futex1);
-            printf("Child  (%jd) %u\en", (intmax_t) getpid(), j);
+            printf("Child  (%jd) %u\[rs]n", (intmax_t) getpid(), j);
             fpost(futex2);
         }
 \&
@@ -1914,7 +1914,7 @@ .SS Program source
 \&
     for (unsigned int j = 0; j < nloops; j++) {
         fwait(futex2);
-        printf("Parent (%jd) %u\en", (intmax_t) getpid(), j);
+        printf("Parent (%jd) %u\[rs]n", (intmax_t) getpid(), j);
         fpost(futex1);
     }
 \&
man/man2/getdents.2 +3 -3
index 421318e5e..ad8749045 100644
@@ -295,8 +295,8 @@ .SS Program source
         if (nread == 0)
             break;
 \&
-        printf("\-\-\-\-\-\-\-\-\-\-\-\-\-\-\- nread=%ld \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\en", nread);
-        printf("inode#    file type  d_reclen  d_off   d_name\en");
+        printf("\-\-\-\-\-\-\-\-\-\-\-\-\-\-\- nread=%ld \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\[rs]n", nread);
+        printf("inode#    file type  d_reclen  d_off   d_name\[rs]n");
         for (size_t bpos = 0; bpos < nread;) {
             d = (struct linux_dirent *) (buf + bpos);
             printf("%8lu  ", d\->d_ino);
@@ -308,7 +308,7 @@ .SS Program source
                              (d_type == DT_LNK) ?  "symlink" :
                              (d_type == DT_BLK) ?  "block dev" :
                              (d_type == DT_CHR) ?  "char dev" : "???");
-            printf("%4d %10jd  %s\en", d\->d_reclen,
+            printf("%4d %10jd  %s\[rs]n", d\->d_reclen,
                    (intmax_t) d\->d_off, d\->d_name);
             bpos += d\->d_reclen;
         }
man/man2/getrlimit.2 +3 -3
index b1254f618..61a1484e4 100644
@@ -799,7 +799,7 @@ .SH EXAMPLES
 \&
     if (!(argc == 2 || argc == 4)) {
         fprintf(stderr, "Usage: %s <pid> [<new\-soft\-limit> "
-                "<new\-hard\-limit>]\en", argv[0]);
+                "<new\-hard\-limit>]\[rs]n", argv[0]);
         exit(EXIT_FAILURE);
     }
 \&
@@ -817,14 +817,14 @@ .SH EXAMPLES
 \&
     if (prlimit(pid, RLIMIT_CPU, newp, &old) == \-1)
         err(EXIT_FAILURE, "prlimit\-1");
-    printf("Previous limits: soft=%jd; hard=%jd\en",
+    printf("Previous limits: soft=%jd; hard=%jd\[rs]n",
            (intmax_t) old.rlim_cur, (intmax_t) old.rlim_max);
 \&
     /* Retrieve and display new CPU time limit */
 \&
     if (prlimit(pid, RLIMIT_CPU, NULL, &old) == \-1)
         err(EXIT_FAILURE, "prlimit\-2");
-    printf("New limits: soft=%jd; hard=%jd\en",
+    printf("New limits: soft=%jd; hard=%jd\[rs]n",
            (intmax_t) old.rlim_cur, (intmax_t) old.rlim_max);
 \&
     exit(EXIT_SUCCESS);
man/man2/kcmp.2 +7 -7
index 33d4a25e1..98f8fc0d9 100644
@@ -361,8 +361,8 @@ .SS Program source
 static void
 test_kcmp(char *msg, pid_t pid1, pid_t pid2, int fd_a, int fd_b)
 {
-    printf("\et%s\en", msg);
-    printf("\et\etkcmp(%jd, %jd, KCMP_FILE, %d, %d) ==> %s\en",
+    printf("\[rs]t%s\[rs]n", msg);
+    printf("\[rs]t\[rs]tkcmp(%jd, %jd, KCMP_FILE, %d, %d) ==> %s\[rs]n",
            (intmax_t) pid1, (intmax_t) pid2, fd_a, fd_b,
            (kcmp(pid1, pid2, KCMP_FILE, fd_a, fd_b) == 0) ?
                         "same" : "different");
@@ -378,15 +378,15 @@ .SS Program source
     if (fd1 == \-1)
         err(EXIT_FAILURE, "open");
 \&
-    printf("Parent PID is %jd\en", (intmax_t) getpid());
-    printf("Parent opened file on FD %d\en\en", fd1);
+    printf("Parent PID is %jd\[rs]n", (intmax_t) getpid());
+    printf("Parent opened file on FD %d\[rs]n\[rs]n", fd1);
 \&
     switch (fork()) {
     case \-1:
         err(EXIT_FAILURE, "fork");
 \&
     case 0:
-        printf("PID of child of fork() is %jd\en", (intmax_t) getpid());
+        printf("PID of child of fork() is %jd\[rs]n", (intmax_t) getpid());
 \&
         test_kcmp("Compare duplicate FDs from different processes:",
                   getpid(), getppid(), fd1, fd1);
@@ -394,7 +394,7 @@ .SS Program source
         fd2 = open(pathname, O_CREAT | O_RDWR, 0600);
         if (fd2 == \-1)
             err(EXIT_FAILURE, "open");
-        printf("Child opened file on FD %d\en", fd2);
+        printf("Child opened file on FD %d\[rs]n", fd2);
 \&
         test_kcmp("Compare FDs from distinct open()s in same process:",
                   getpid(), getpid(), fd1, fd2);
@@ -402,7 +402,7 @@ .SS Program source
         fd3 = dup(fd1);
         if (fd3 == \-1)
             err(EXIT_FAILURE, "dup");
-        printf("Child duplicated FD %d to create FD %d\en", fd1, fd3);
+        printf("Child duplicated FD %d to create FD %d\[rs]n", fd1, fd3);
 \&
         test_kcmp("Compare duplicated FDs in same process:",
                   getpid(), getpid(), fd1, fd3);
man/man2/kexec_load.2 +2 -2
index 58a894f30..80edb4b25 100644
@@ -193,7 +193,7 @@ .SS kexec_file_load()
 The
 .I cmdline_len
 argument specifies size of the buffer.
-The last byte in the buffer must be a null byte (\[aq]\e0\[aq]).
+The last byte in the buffer must be a null byte (\[aq]\[rs]0\[aq]).
 .P
 The
 .I flags
@@ -288,7 +288,7 @@ .SH ERRORS
 .B EINVAL
 The value in
 .I cmdline[cmdline_len\-1]
-is not \[aq]\e0\[aq].
+is not \[aq]\[rs]0\[aq].
 .TP
 .B EINVAL
 The file referred to by
man/man2/keyctl.2 +25 -25

130 lines not on this page · raw message

man/man2/listxattr.2 +6 -6
index 72b769a0e..fd624425f 100644
@@ -86,12 +86,12 @@ .SS Example
 The
 .I list
 of names is returned as an unordered array of null-terminated character strings
-(attribute names are separated by null bytes (\[aq]\e0\[aq])),
+(attribute names are separated by null bytes (\[aq]\[rs]0\[aq])),
 like this:
 .P
 .in +4n
 .EX
-user.name1\e0system.name1\e0user.name2\e0
+user.name1\[rs]0system.name1\[rs]0user.name2\[rs]0
 .EE
 .in
 .P
@@ -102,7 +102,7 @@ .SS Example
 .P
 .in +4n
 .EX
-system.posix_acl_access\e0system.posix_acl_default\e0
+system.posix_acl_access\[rs]0system.posix_acl_default\[rs]0
 .EE
 .in
 .SH RETURN VALUE
@@ -209,7 +209,7 @@ .SS Program source (listxattr.c)
     ssize_t  buflen, keylen, vallen;
 \&
     if (argc != 2) {
-        fprintf(stderr, "Usage: %s path\en", argv[0]);
+        fprintf(stderr, "Usage: %s path\[rs]n", argv[0]);
         exit(EXIT_FAILURE);
     }
 \&
@@ -222,7 +222,7 @@ .SS Program source (listxattr.c)
         exit(EXIT_FAILURE);
     }
     if (buflen == 0) {
-        printf("%s has no attributes.\en", argv[1]);
+        printf("%s has no attributes.\[rs]n", argv[1]);
         exit(EXIT_SUCCESS);
     }
 \&
@@ -295,7 +295,7 @@ .SS Program source (listxattr.c)
             printf("<no value>");
         }
 \&
-        printf("\en");
+        printf("\[rs]n");
 \&
         /*
          * Forward to next attribute key.
man/man2/lseek.2 +1 -1
index 14fc13734..c344c6baa 100644
@@ -57,7 +57,7 @@ .SH DESCRIPTION
 allows the file offset to be set beyond the end
 of the file (but this does not change the size of the file).
 If data is later written at this point, subsequent reads of the data
-in the gap (a "hole") return null bytes (\[aq]\e0\[aq]) until
+in the gap (a "hole") return null bytes (\[aq]\[rs]0\[aq]) until
 data is actually written into the gap.
 .SS Seeking file data and holes
 Since Linux 3.1, Linux supports the following additional values for
man/man2/membarrier.2 +1 -1
index cd8029dd9..d6e5e7394 100644
@@ -402,7 +402,7 @@ .SH EXAMPLES
 \&
     if (!(ret & MEMBARRIER_CMD_GLOBAL)) {
         fprintf(stderr,
-            "membarrier does not support MEMBARRIER_CMD_GLOBAL\en");
+            "membarrier does not support MEMBARRIER_CMD_GLOBAL\[rs]n");
         return \-1;
     }
 \&
man/man2/memfd_create.2 +11 -11
index 55cb59ef0..4ae50c237 100644
@@ -429,14 +429,14 @@ .SS Program source: t_memfd_create.c
     unsigned int  seals;
 \&
     if (argc < 3) {
-        fprintf(stderr, "%s name size [seals]\en", argv[0]);
-        fprintf(stderr, "\et\[aq]seals\[aq] can contain any of the "
-                "following characters:\en");
-        fprintf(stderr, "\et\etg \- F_SEAL_GROW\en");
-        fprintf(stderr, "\et\ets \- F_SEAL_SHRINK\en");
-        fprintf(stderr, "\et\etw \- F_SEAL_WRITE\en");
-        fprintf(stderr, "\et\etW \- F_SEAL_FUTURE_WRITE\en");
-        fprintf(stderr, "\et\etS \- F_SEAL_SEAL\en");
+        fprintf(stderr, "%s name size [seals]\[rs]n", argv[0]);
+        fprintf(stderr, "\[rs]t\[aq]seals\[aq] can contain any of the "
+                "following characters:\[rs]n");
+        fprintf(stderr, "\[rs]t\[rs]tg \- F_SEAL_GROW\[rs]n");
+        fprintf(stderr, "\[rs]t\[rs]ts \- F_SEAL_SHRINK\[rs]n");
+        fprintf(stderr, "\[rs]t\[rs]tw \- F_SEAL_WRITE\[rs]n");
+        fprintf(stderr, "\[rs]t\[rs]tW \- F_SEAL_FUTURE_WRITE\[rs]n");
+        fprintf(stderr, "\[rs]t\[rs]tS \- F_SEAL_SEAL\[rs]n");
         exit(EXIT_FAILURE);
     }
 \&
@@ -456,7 +456,7 @@ .SS Program source: t_memfd_create.c
     if (ftruncate(fd, len) == \-1)
         err(EXIT_FAILURE, "truncate");
 \&
-    printf("PID: %jd; fd: %d; /proc/%jd/fd/%d\en",
+    printf("PID: %jd; fd: %d; /proc/%jd/fd/%d\[rs]n",
            (intmax_t) getpid(), fd, (intmax_t) getpid(), fd);
 \&
     /* Code to map the file and populate the mapping with data
@@ -509,7 +509,7 @@ .SS Program source: t_get_seals.c
     unsigned int  seals;
 \&
     if (argc != 2) {
-        fprintf(stderr, "%s /proc/PID/fd/FD\en", argv[0]);
+        fprintf(stderr, "%s /proc/PID/fd/FD\[rs]n", argv[0]);
         exit(EXIT_FAILURE);
     }
 \&
@@ -532,7 +532,7 @@ .SS Program source: t_get_seals.c
         printf(" FUTURE_WRITE");
     if (seals & F_SEAL_SHRINK)
         printf(" SHRINK");
-    printf("\en");
+    printf("\[rs]n");
 \&
     /* Code to map the file and access the contents of the
        resulting mapping omitted. */
man/man2/mmap.2 +3 -3
index f4cecbefb..12d60f500 100644
@@ -943,7 +943,7 @@ .SS Program source
 #include <sys/types.h>
 #include <unistd.h>
 \&
-#define handle_error(msg) \e
+#define handle_error(msg) \[rs]
     do { perror(msg); exit(EXIT_FAILURE); } while (0)
 \&
 int
@@ -957,7 +957,7 @@ .SS Program source
     struct stat  sb;
 \&
     if (argc < 3 || argc > 4) {
-        fprintf(stderr, "%s file offset [length]\en", argv[0]);
+        fprintf(stderr, "%s file offset [length]\[rs]n", argv[0]);
         exit(EXIT_FAILURE);
     }
 \&
@@ -973,7 +973,7 @@ .SS Program source
         /* offset for mmap() must be page aligned */
 \&
     if (offset >= sb.st_size) {
-        fprintf(stderr, "offset is past end of file\en");
+        fprintf(stderr, "offset is past end of file\[rs]n");
         exit(EXIT_FAILURE);
     }
 \&
man/man2/mprotect.2 +4 -4
index 63781f536..b82f728e5 100644
@@ -302,7 +302,7 @@ .SS Program source
 #include <sys/mman.h>
 #include <unistd.h>
 \&
-#define handle_error(msg) \e
+#define handle_error(msg) \[rs]
     do { perror(msg); exit(EXIT_FAILURE); } while (0)
 \&
 static char *buffer;
@@ -316,7 +316,7 @@ .SS Program source
        Nevertheless, we use printf() here as a simple way of
        showing that the handler was called. */
 \&
-    printf("Got SIGSEGV at address: %p\en", si\->si_addr);
+    printf("Got SIGSEGV at address: %p\[rs]n", si\->si_addr);
     exit(EXIT_FAILURE);
 }
 \&
@@ -343,7 +343,7 @@ .SS Program source
     if (buffer == NULL)
         handle_error("memalign");
 \&
-    printf("Start of region:        %p\en", buffer);
+    printf("Start of region:        %p\[rs]n", buffer);
 \&
     if (mprotect(buffer + pagesize * 2, pagesize,
                  PROT_READ) == \-1)
@@ -352,7 +352,7 @@ .SS Program source
     for (char *p = buffer ; ; )
         *(p++) = \[aq]a\[aq];
 \&
-    printf("Loop completed\en");     /* Should never happen */
+    printf("Loop completed\[rs]n");     /* Should never happen */
     exit(EXIT_SUCCESS);
 }
 .EE
man/man2/msgop.2 +12 -12
index 6ffd76b2f..ecb260134 100644
@@ -581,12 +581,12 @@ .SS Program source
     if (msg != NULL)
         fputs(msg, stderr);
 \&
-    fprintf(stderr, "Usage: %s [options]\en", prog_name);
-    fprintf(stderr, "Options are:\en");
-    fprintf(stderr, "\-s        send message using msgsnd()\en");
-    fprintf(stderr, "\-r        read message using msgrcv()\en");
-    fprintf(stderr, "\-t        message type (default is 1)\en");
-    fprintf(stderr, "\-k        message queue key (default is 1234)\en");
+    fprintf(stderr, "Usage: %s [options]\[rs]n", prog_name);
+    fprintf(stderr, "Options are:\[rs]n");
+    fprintf(stderr, "\-s        send message using msgsnd()\[rs]n");
+    fprintf(stderr, "\-r        read message using msgrcv()\[rs]n");
+    fprintf(stderr, "\-t        message type (default is 1)\[rs]n");
+    fprintf(stderr, "\-k        message queue key (default is 1234)\[rs]n");
     exit(EXIT_FAILURE);
 }
 \&
@@ -608,7 +608,7 @@ .SS Program source
         perror("msgsnd error");
         exit(EXIT_FAILURE);
     }
-    printf("sent: %s\en", msg.mtext);
+    printf("sent: %s\[rs]n", msg.mtext);
 }
 \&
 static void
@@ -622,9 +622,9 @@ .SS Program source
             perror("msgrcv");
             exit(EXIT_FAILURE);
         }
-        printf("No message available for msgrcv()\en");
+        printf("No message available for msgrcv()\[rs]n");
     } else {
-        printf("message received: %s\en", msg.mtext);
+        printf("message received: %s\[rs]n", msg.mtext);
     }
 }
 \&
@@ -647,18 +647,18 @@ .SS Program source
         case \[aq]t\[aq]:
             msgtype = atoi(optarg);
             if (msgtype <= 0)
-                usage(argv[0], "\-t option must be greater than 0\en");
+                usage(argv[0], "\-t option must be greater than 0\[rs]n");
             break;
         case \[aq]k\[aq]:
             msgkey = atoi(optarg);
             break;
         default:
-            usage(argv[0], "Unrecognized option\en");
+            usage(argv[0], "Unrecognized option\[rs]n");
         }
     }
 \&
     if (mode == 0)
-        usage(argv[0], "must use either \-s or \-r option\en");
+        usage(argv[0], "must use either \-s or \-r option\[rs]n");
 \&
     qid = msgget(msgkey, IPC_CREAT | 0666);
 \&
man/man2/open_by_handle_at.2 +11 -11
index ee8a4f72b..886ff4ef6 100644
@@ -549,11 +549,11 @@ .SH EXAMPLES
 .P
 .in +4n
 .EX
-$ \fBstat \-\-printf="%i\en" cecilia.txt\fP     # Display inode number
+$ \fBstat \-\-printf="%i\[rs]n" cecilia.txt\fP     # Display inode number
 4072121
 $ \fBrm cecilia.txt\fP
 $ \fBecho \[aq]Can you please think about it?\[aq] > cecilia.txt\fP
-$ \fBstat \-\-printf="%i\en" cecilia.txt\fP     # Check inode number
+$ \fBstat \-\-printf="%i\[rs]n" cecilia.txt\fP     # Check inode number
 4072121
 $ \fBsudo ./t_open_by_handle_at < fh\fP
 open_by_handle_at: Stale NFS file handle
@@ -578,7 +578,7 @@ .SS Program source: t_name_to_handle_at.c
     struct file_handle  *fhp;
 \&
     if (argc != 2) {
-        fprintf(stderr, "Usage: %s pathname\en", argv[0]);
+        fprintf(stderr, "Usage: %s pathname\[rs]n", argv[0]);
         exit(EXIT_FAILURE);
     }
 \&
@@ -601,7 +601,7 @@ .SS Program source: t_name_to_handle_at.c
                           &mount_id, flags) != \-1
         || errno != EOVERFLOW)
     {
-        fprintf(stderr, "Unexpected result from name_to_handle_at()\en");
+        fprintf(stderr, "Unexpected result from name_to_handle_at()\[rs]n");
         exit(EXIT_FAILURE);
     }
 \&
@@ -620,11 +620,11 @@ .SS Program source: t_name_to_handle_at.c
     /* Write mount ID, file handle size, and file handle to stdout,
        for later reuse by t_open_by_handle_at.c. */
 \&
-    printf("%d\en", mount_id);
+    printf("%d\[rs]n", mount_id);
     printf("%u %d   ", fhp\->handle_bytes, fhp\->handle_type);
     for (size_t j = 0; j < fhp\->handle_bytes; j++)
         printf(" %02x", fhp\->f_handle[j]);
-    printf("\en");
+    printf("\[rs]n");
 \&
     exit(EXIT_SUCCESS);
 }
@@ -674,7 +674,7 @@ .SS Program source: t_open_by_handle_at.c
         nread = sscanf(linep, "%d %*d %*s %*s %s",
                        &mi_mount_id, mount_path);
         if (nread != 2) {
-            fprintf(stderr, "Bad sscanf()\en");
+            fprintf(stderr, "Bad sscanf()\[rs]n");
             exit(EXIT_FAILURE);
         }
 \&
@@ -686,7 +686,7 @@ .SS Program source: t_open_by_handle_at.c
     fclose(fp);
 \&
     if (!found) {
-        fprintf(stderr, "Could not find mount point\en");
+        fprintf(stderr, "Could not find mount point\[rs]n");
         exit(EXIT_FAILURE);
     }
 \&
@@ -705,7 +705,7 @@ .SS Program source: t_open_by_handle_at.c
     struct file_handle  *fhp;
 \&
     if ((argc > 1 && strcmp(argv[1], "\-\-help") == 0) || argc > 2) {
-        fprintf(stderr, "Usage: %s [mount\-path]\en", argv[0]);
+        fprintf(stderr, "Usage: %s [mount\-path]\[rs]n", argv[0]);
         exit(EXIT_FAILURE);
     }
 \&
@@ -718,7 +718,7 @@ .SS Program source: t_open_by_handle_at.c
     if (fgets(line1, sizeof(line1), stdin) == NULL ||
         fgets(line2, sizeof(line2), stdin) == NULL)
     {
-        fprintf(stderr, "Missing mount_id / file handle\en");
+        fprintf(stderr, "Missing mount_id / file handle\[rs]n");
         exit(EXIT_FAILURE);
     }
 \&
@@ -764,7 +764,7 @@ .SS Program source: t_open_by_handle_at.c
     if (nread == \-1)
         err(EXIT_FAILURE, "read");
 \&
-    printf("Read %zd bytes\en", nread);
+    printf("Read %zd bytes\[rs]n", nread);
 \&
     exit(EXIT_SUCCESS);
 }
man/man2/perf_event_open.2 +3 -3
index 37272edc3..2f345ff5b 100644
@@ -4007,19 +4007,19 @@ .SH EXAMPLES
 \&
     fd = perf_event_open(&pe, 0, \-1, \-1, 0);
     if (fd == \-1) {
-       fprintf(stderr, "Error opening leader %llx\en", pe.config);
+       fprintf(stderr, "Error opening leader %llx\[rs]n", pe.config);
        exit(EXIT_FAILURE);
     }
 \&
     ioctl(fd, PERF_EVENT_IOC_RESET, 0);
     ioctl(fd, PERF_EVENT_IOC_ENABLE, 0);
 \&
-    printf("Measuring instruction count for this printf\en");
+    printf("Measuring instruction count for this printf\[rs]n");
 \&
     ioctl(fd, PERF_EVENT_IOC_DISABLE, 0);
     read(fd, &count, sizeof(count));
 \&
-    printf("Used %lld instructions\en", count);
+    printf("Used %lld instructions\[rs]n", count);
 \&
     close(fd);
 }
man/man2/pidfd_open.2 +2 -2
index 4f2b4c6d8..c027afe67 100644
@@ -230,7 +230,7 @@ .SS Program source
     struct pollfd  pollfd;
 \&
     if (argc != 2) {
-        fprintf(stderr, "Usage: %s <pid>\en", argv[0]);
+        fprintf(stderr, "Usage: %s <pid>\[rs]n", argv[0]);
         exit(EXIT_SUCCESS);
     }
 \&
@@ -249,7 +249,7 @@ .SS Program source
         exit(EXIT_FAILURE);
     }
 \&
-    printf("Events (%#x): POLLIN is %sset\en", pollfd.revents,
+    printf("Events (%#x): POLLIN is %sset\[rs]n", pollfd.revents,
            (pollfd.revents & POLLIN) ? "" : "not ");
 \&
     close(pidfd);
man/man2/pidfd_send_signal.2 +1 -1
index 205808425..c7aecbf96 100644
@@ -191,7 +191,7 @@ .SH EXAMPLES
     siginfo_t  info;
 \&
     if (argc != 3) {
-        fprintf(stderr, "Usage: %s <pid> <signal>\en", argv[0]);
+        fprintf(stderr, "Usage: %s <pid> <signal>\[rs]n", argv[0]);
         exit(EXIT_FAILURE);
     }
 \&
man/man2/pipe.2 +2 -2
index b354775ce..04230924d 100644
@@ -258,7 +258,7 @@ .SS Program source
     pid_t  cpid;
 \&
     if (argc != 2) {
-        fprintf(stderr, "Usage: %s <string>\en", argv[0]);
+        fprintf(stderr, "Usage: %s <string>\[rs]n", argv[0]);
         exit(EXIT_FAILURE);
     }
 \&
@@ -279,7 +279,7 @@ .SS Program source
         while (read(pipefd[0], &buf, 1) > 0)
             write(STDOUT_FILENO, &buf, 1);
 \&
-        write(STDOUT_FILENO, "\en", 1);
+        write(STDOUT_FILENO, "\[rs]n", 1);
         close(pipefd[0]);
         _exit(EXIT_SUCCESS);
 \&
man/man2/poll.2 +9 -9
index 4472baf3e..94e0f2478 100644
@@ -566,7 +566,7 @@ .SS Program source
 #include <sys/types.h>
 #include <unistd.h>
 \&
-#define errExit(msg)    do { perror(msg); exit(EXIT_FAILURE); \e
+#define errExit(msg)    do { perror(msg); exit(EXIT_FAILURE); \[rs]
                         } while (0)
 \&
 int
@@ -579,7 +579,7 @@ .SS Program source
     struct pollfd  *pfds;
 \&
     if (argc < 2) {
-       fprintf(stderr, "Usage: %s file...\en", argv[0]);
+       fprintf(stderr, "Usage: %s file...\[rs]n", argv[0]);
        exit(EXIT_FAILURE);
     }
 \&
@@ -595,7 +595,7 @@ .SS Program source
         if (pfds[j].fd == \-1)
             errExit("open");
 \&
-        printf("Opened \e"%s\e" on fd %d\en", argv[j + 1], pfds[j].fd);
+        printf("Opened \[rs]"%s\[rs]" on fd %d\[rs]n", argv[j + 1], pfds[j].fd);
 \&
         pfds[j].events = POLLIN;
     }
@@ -604,18 +604,18 @@ .SS Program source
        open. */
 \&
     while (num_open_fds > 0) {
-        printf("About to poll()\en");
+        printf("About to poll()\[rs]n");
         ready = poll(pfds, nfds, \-1);
         if (ready == \-1)
             errExit("poll");
 \&
-        printf("Ready: %d\en", ready);
+        printf("Ready: %d\[rs]n", ready);
 \&
         /* Deal with array returned by poll(). */
 \&
         for (nfds_t j = 0; j < nfds; j++) {
             if (pfds[j].revents != 0) {
-                printf("  fd=%d; events: %s%s%s\en", pfds[j].fd,
+                printf("  fd=%d; events: %s%s%s\[rs]n", pfds[j].fd,
                        (pfds[j].revents & POLLIN)  ? "POLLIN "  : "",
                        (pfds[j].revents & POLLHUP) ? "POLLHUP " : "",
                        (pfds[j].revents & POLLERR) ? "POLLERR " : "");
@@ -624,10 +624,10 @@ .SS Program source
                     s = read(pfds[j].fd, buf, sizeof(buf));
                     if (s == \-1)
                         errExit("read");
-                    printf("    read %zd bytes: %.*s\en",
+                    printf("    read %zd bytes: %.*s\[rs]n",
                            s, (int) s, buf);
                 } else {                /* POLLERR | POLLHUP */
-                    printf("    closing fd %d\en", pfds[j].fd);
+                    printf("    closing fd %d\[rs]n", pfds[j].fd);
                     if (close(pfds[j].fd) == \-1)
                         errExit("close");
                     num_open_fds\-\-;
@@ -636,7 +636,7 @@ .SS Program source
         }
     }
 \&
-    printf("All file descriptors closed; bye\en");
+    printf("All file descriptors closed; bye\[rs]n");
     exit(EXIT_SUCCESS);
 }
 .EE
man/man2/readdir.2 +1 -1
index 933bb30d4..1fb02f7d5 100644
@@ -74,7 +74,7 @@ .SH DESCRIPTION
 .I d_reclen
 is the size of
 .IR d_name ,
-not counting the terminating null byte (\[aq]\e0\[aq]).
+not counting the terminating null byte (\[aq]\[rs]0\[aq]).
 .I d_name
 is a null-terminated filename.
 .SH RETURN VALUE
man/man2/readlink.2 +4 -4
index 9c616f6ed..2a7cb76fe 100644
@@ -271,7 +271,7 @@ .SH EXAMPLES
     struct stat  sb;
 \&
     if (argc != 2) {
-        fprintf(stderr, "Usage: %s <pathname>\en", argv[0]);
+        fprintf(stderr, "Usage: %s <pathname>\[rs]n", argv[0]);
         exit(EXIT_FAILURE);
     }
 \&
@@ -305,8 +305,8 @@ .SH EXAMPLES
     }
 \&
     /* Print only \[aq]nbytes\[aq] of \[aq]buf\[aq], as it doesn't contain a terminating
-       null byte (\[aq]\e0\[aq]). */
-    printf("\[aq]%s\[aq] points to \[aq]%.*s\[aq]\en", argv[1], (int) nbytes, buf);
+       null byte (\[aq]\[rs]0\[aq]). */
+    printf("\[aq]%s\[aq] points to \[aq]%.*s\[aq]\[rs]n", argv[1], (int) nbytes, buf);
 \&
     /* If the return value was equal to the buffer size, then
        the link target was larger than expected (perhaps because the
@@ -315,7 +315,7 @@ .SH EXAMPLES
        been truncated. */
 \&
     if (nbytes == bufsiz)
-        printf("(Returned buffer may have been truncated)\en");
+        printf("(Returned buffer may have been truncated)\[rs]n");
 \&
     free(buf);
     exit(EXIT_SUCCESS);
man/man2/readv.2 +1 -1
index d39f2b9b9..eecde06dc 100644
@@ -409,7 +409,7 @@ .SH EXAMPLES
 .in +4n
 .EX
 char          *str0 = "hello ";
-char          *str1 = "world\en";
+char          *str1 = "world\[rs]n";
 ssize_t       nwritten;
 struct iovec  iov[2];
 \&
man/man2/recvmmsg.2 +1 -1
index bf3c9d4ca..891484f02 100644
@@ -258,7 +258,7 @@ .SS Program source
         exit(EXIT_FAILURE);
     }
 \&
-    printf("%d messages received\en", retval);
+    printf("%d messages received\[rs]n", retval);
     for (size_t i = 0; i < retval; i++) {
         bufs[i][msgs[i].msg_len] = 0;
         printf("%zu %s", i+1, bufs[i]);
man/man2/request_key.2 +3 -3
index 53c47e450..6ca8bbcea 100644
@@ -452,7 +452,7 @@ .SH EXAMPLES
 .in +4n
 .EX
 $ sudo sh
-# \fBecho \[aq]create user mtk:* *   /bin/keyctl instantiate %k %c %S\[aq] \e\fP
+# \fBecho \[aq]create user mtk:* *   /bin/keyctl instantiate %k %c %S\[aq] \[rs]\fP
           \fB> /etc/request\-key.conf\fP
 # \fBexit\fP
 .EE
@@ -514,7 +514,7 @@ .SS Program source
     key_serial_t key;
 \&
     if (argc != 4) {
-        fprintf(stderr, "Usage: %s type description callout\-data\en",
+        fprintf(stderr, "Usage: %s type description callout\-data\[rs]n",
                 argv[0]);
         exit(EXIT_FAILURE);
     }
@@ -526,7 +526,7 @@ .SS Program source
         exit(EXIT_FAILURE);
     }
 \&
-    printf("Key ID is %jx\en", (uintmax_t) key);
+    printf("Key ID is %jx\[rs]n", (uintmax_t) key);
 \&
     exit(EXIT_SUCCESS);
 }
man/man2/sched_setaffinity.2 +1 -1
index 7f87fabb1..75a24158f 100644
@@ -360,7 +360,7 @@ .SS Program source
     unsigned int  nloops;
 \&
     if (argc != 4) {
-        fprintf(stderr, "Usage: %s parent\-cpu child\-cpu num\-loops\en",
+        fprintf(stderr, "Usage: %s parent\-cpu child\-cpu num\-loops\[rs]n",
                 argv[0]);
         exit(EXIT_FAILURE);
     }
man/man2/seccomp.2 +5 -5
index 25376c3bf..34e0bcd2b 100644
@@ -1038,7 +1038,7 @@ .SH EXAMPLES
 $ \fBuname \-m\fP
 x86_64
 $ \fBsyscall_nr() {
-    cat /usr/src/linux/arch/x86/syscalls/syscall_64.tbl | \e
+    cat /usr/src/linux/arch/x86/syscalls/syscall_64.tbl | \[rs]
     awk \[aq]$2 != "x32" && $3 == "\[aq]$1\[aq]" { print $1 }\[aq]
 }\fP
 .EE
@@ -1184,10 +1184,10 @@ .SS Program source
 {
     if (argc < 5) {
         fprintf(stderr, "Usage: "
-                "%s <syscall_nr> <arch> <errno> <prog> [<args>]\en"
-                "Hint for <arch>: AUDIT_ARCH_I386: 0x%X\en"
-                "                 AUDIT_ARCH_X86_64: 0x%X\en"
-                "\en", argv[0], AUDIT_ARCH_I386, AUDIT_ARCH_X86_64);
+                "%s <syscall_nr> <arch> <errno> <prog> [<args>]\[rs]n"
+                "Hint for <arch>: AUDIT_ARCH_I386: 0x%X\[rs]n"
+                "                 AUDIT_ARCH_X86_64: 0x%X\[rs]n"
+                "\[rs]n", argv[0], AUDIT_ARCH_I386, AUDIT_ARCH_X86_64);
         exit(EXIT_FAILURE);
     }
 \&
man/man2/seccomp_unotify.2 +29 -29

158 lines not on this page · raw message

man/man2/select.2 +2 -2
index bbf8ea9e0..e9eead575 100644
@@ -738,10 +738,10 @@ .SH EXAMPLES
     if (retval == \-1)
         perror("select()");
     else if (retval)
-        printf("Data is available now.\en");
+        printf("Data is available now.\[rs]n");
         /* FD_ISSET(0, &rfds) will be true. */
     else
-        printf("No data within five seconds.\en");
+        printf("No data within five seconds.\[rs]n");
 \&
     exit(EXIT_SUCCESS);
 }
man/man2/select_tut.2 +17 -17
index 4ef523ead..c027cda9f 100644
@@ -383,7 +383,7 @@ .SH EXAMPLES
         return \-1;
     }
 \&
-    printf("accepting connections on port %d\en", listen_port);
+    printf("accepting connections on port %d\[rs]n", listen_port);
     listen(lfd, 10);
     return lfd;
 }
@@ -405,7 +405,7 @@ .SH EXAMPLES
     addr.sin_family = AF_INET;
 \&
     if (!inet_aton(address, (struct in_addr *) &addr.sin_addr.s_addr)) {
-        fprintf(stderr, "inet_aton(): bad IP address format\en");
+        fprintf(stderr, "inet_aton(): bad IP address format\[rs]n");
         close(cfd);
         return \-1;
     }
@@ -419,20 +419,20 @@ .SH EXAMPLES
     return cfd;
 }
 \&
-#define SHUT_FD1 do {                                \e
-                     if (fd1 >= 0) {                 \e
-                         shutdown(fd1, SHUT_RDWR);   \e
-                         close(fd1);                 \e
-                         fd1 = \-1;                   \e
-                     }                               \e
+#define SHUT_FD1 do {                                \[rs]
+                     if (fd1 >= 0) {                 \[rs]
+                         shutdown(fd1, SHUT_RDWR);   \[rs]
+                         close(fd1);                 \[rs]
+                         fd1 = \-1;                   \[rs]
+                     }                               \[rs]
                  } while (0)
 \&
-#define SHUT_FD2 do {                                \e
-                     if (fd2 >= 0) {                 \e
-                         shutdown(fd2, SHUT_RDWR);   \e
-                         close(fd2);                 \e
-                         fd2 = \-1;                   \e
-                     }                               \e
+#define SHUT_FD2 do {                                \[rs]
+                     if (fd2 >= 0) {                 \[rs]
+                         shutdown(fd2, SHUT_RDWR);   \[rs]
+                         close(fd2);                 \[rs]
+                         fd2 = \-1;                   \[rs]
+                     }                               \[rs]
                  } while (0)
 \&
 #define BUF_SIZE 1024
@@ -450,8 +450,8 @@ .SH EXAMPLES
     ssize_t  nbytes;
 \&
     if (argc != 4) {
-        fprintf(stderr, "Usage\en\etfwd <listen\-port> "
-                "<forward\-to\-port> <forward\-to\-ip\-address>\en");
+        fprintf(stderr, "Usage\[rs]n\[rs]tfwd <listen\-port> "
+                "<forward\-to\-port> <forward\-to\-ip\-address>\[rs]n");
         exit(EXIT_FAILURE);
     }
 \&
@@ -523,7 +523,7 @@ .SH EXAMPLES
                 if (fd2 == \-1)
                     SHUT_FD1;
                 else
-                    printf("connect from %s\en",
+                    printf("connect from %s\[rs]n",
                            inet_ntoa(client_addr.sin_addr));
 \&
                 /* Skip any events on the old, closed file
man/man2/semget.2 +4 -4
index 167957b3a..f49ea88e4 100644
@@ -380,10 +380,10 @@ .SS Program source
 static void
 usage(const char *pname)
 {
-    fprintf(stderr, "Usage: %s [\-cx] pathname proj\-id num\-sems\en",
+    fprintf(stderr, "Usage: %s [\-cx] pathname proj\-id num\-sems\[rs]n",
             pname);
-    fprintf(stderr, "    \-c           Use IPC_CREAT flag\en");
-    fprintf(stderr, "    \-x           Use IPC_EXCL flag\en");
+    fprintf(stderr, "    \-c           Use IPC_CREAT flag\[rs]n");
+    fprintf(stderr, "    \-x           Use IPC_EXCL flag\[rs]n");
     exit(EXIT_FAILURE);
 }
 \&
@@ -419,7 +419,7 @@ .SS Program source
         exit(EXIT_FAILURE);
     }
 \&
-    printf("ID = %d\en", semid);
+    printf("ID = %d\[rs]n", semid);
 \&
     exit(EXIT_SUCCESS);
 }
man/man2/sendmmsg.2 +1 -1
index bc541aae5..74f5e9724 100644
@@ -219,7 +219,7 @@ .SH EXAMPLES
     if (retval == \-1)
         perror("sendmmsg()");
     else
-        printf("%d messages sent\en", retval);
+        printf("%d messages sent\[rs]n", retval);
 \&
     exit(0);
 }
man/man2/setns.2 +1 -1
index 860ee7e10..f6c221d4f 100644
@@ -389,7 +389,7 @@ .SS Program source
     int fd;
 \&
     if (argc < 3) {
-        fprintf(stderr, "%s /proc/PID/ns/FILE cmd args...\en", argv[0]);
+        fprintf(stderr, "%s /proc/PID/ns/FILE cmd args...\[rs]n", argv[0]);
         exit(EXIT_FAILURE);
     }
 \&
man/man2/shmop.2 +6 -6
index 9d0acf7f5..223955b41 100644
@@ -326,7 +326,7 @@ .SS Program source: svshm_string.h
 #include <stdlib.h>
 #include <sys/sem.h>
 \&
-#define errExit(msg)    do { perror(msg); exit(EXIT_FAILURE); \e
+#define errExit(msg)    do { perror(msg); exit(EXIT_FAILURE); \[rs]
                         } while (0)
 \&
 union semun {                   /* Used in calls to semctl() */
@@ -400,7 +400,7 @@ .SS Program source: svshm_string_read.c
     if (semctl(semid, 0, SETVAL, arg) == \-1)
         errExit("semctl");
 \&
-    printf("shmid = %d; semid = %d\en", shmid, semid);
+    printf("shmid = %d; semid = %d\[rs]n", shmid, semid);
 \&
     /* Wait for semaphore value to become 0. */
 \&
@@ -413,7 +413,7 @@ .SS Program source: svshm_string_read.c
 \&
     /* Print the string from shared memory. */
 \&
-    printf("%s\en", addr);
+    printf("%s\[rs]n", addr);
 \&
     /* Remove shared memory and semaphore set. */
 \&
@@ -460,13 +460,13 @@ .SS Program source: svshm_string_write.c
     struct sembuf  sop;
 \&
     if (argc != 4) {
-        fprintf(stderr, "Usage: %s shmid semid string\en", argv[0]);
+        fprintf(stderr, "Usage: %s shmid semid string\[rs]n", argv[0]);
         exit(EXIT_FAILURE);
     }
 \&
-    len = strlen(argv[3]) + 1;  /* +1 to include trailing \[aq]\e0\[aq] */
+    len = strlen(argv[3]) + 1;  /* +1 to include trailing \[aq]\[rs]0\[aq] */
     if (len > MEM_SIZE) {
-        fprintf(stderr, "String is too big!\en");
+        fprintf(stderr, "String is too big!\[rs]n");
         exit(EXIT_FAILURE);
     }
 \&
man/man2/signalfd.2 +4 -4
index cf0e6df28..4e5fdf575 100644
@@ -455,7 +455,7 @@ .SH EXAMPLES
 Got SIGINT
 .B \[ha]C
 Got SIGINT
-\fB\[ha]\e\fP                    # Control\-\e generates SIGQUIT
+\fB\[ha]\[rs]\fP                    # Control\-\[rs] generates SIGQUIT
 Got SIGQUIT
 $
 .EE
@@ -500,12 +500,12 @@ .SS Program source
             err(EXIT_FAILURE, "read");
 \&
         if (fdsi.ssi_signo == SIGINT) {
-            printf("Got SIGINT\en");
+            printf("Got SIGINT\[rs]n");
         } else if (fdsi.ssi_signo == SIGQUIT) {
-            printf("Got SIGQUIT\en");
+            printf("Got SIGQUIT\[rs]n");
             exit(EXIT_SUCCESS);
         } else {
-            printf("Read unexpected signal\en");
+            printf("Read unexpected signal\[rs]n");
         }
     }
 }
man/man2/spu_run.2 +1 -1
index d96592726..0cab2262e 100644
@@ -245,7 +245,7 @@ .SH EXAMPLES
      *   0x00000002 (spu was stopped due to stop\-and\-signal)
      * | 0x12340000 (the stop\-and\-signal code)
      */
-    printf("SPU Status: %#08x\en", spu_status);
+    printf("SPU Status: %#08x\[rs]n", spu_status);
 \&
     exit(EXIT_SUCCESS);
 }
man/man2/stat.2 +17 -17
index e15269a70..0c8325b11 100644
@@ -474,7 +474,7 @@ .SH EXAMPLES
     struct stat sb;
 \&
     if (argc != 2) {
-        fprintf(stderr, "Usage: %s <pathname>\en", argv[0]);
+        fprintf(stderr, "Usage: %s <pathname>\[rs]n", argv[0]);
         exit(EXIT_FAILURE);
     }
 \&
@@ -483,37 +483,37 @@ .SH EXAMPLES
         exit(EXIT_FAILURE);
     }
 \&
-    printf("ID of containing device:  [%x,%x]\en",
+    printf("ID of containing device:  [%x,%x]\[rs]n",
            major(sb.st_dev),
            minor(sb.st_dev));
 \&
     printf("File type:                ");
 \&
     switch (sb.st_mode & S_IFMT) {
-    case S_IFBLK:  printf("block device\en");            break;
-    case S_IFCHR:  printf("character device\en");        break;
-    case S_IFDIR:  printf("directory\en");               break;
-    case S_IFIFO:  printf("FIFO/pipe\en");               break;
-    case S_IFLNK:  printf("symlink\en");                 break;
-    case S_IFREG:  printf("regular file\en");            break;
-    case S_IFSOCK: printf("socket\en");                  break;
-    default:       printf("unknown?\en");                break;
+    case S_IFBLK:  printf("block device\[rs]n");            break;
+    case S_IFCHR:  printf("character device\[rs]n");        break;
+    case S_IFDIR:  printf("directory\[rs]n");               break;
+    case S_IFIFO:  printf("FIFO/pipe\[rs]n");               break;
+    case S_IFLNK:  printf("symlink\[rs]n");                 break;
+    case S_IFREG:  printf("regular file\[rs]n");            break;
+    case S_IFSOCK: printf("socket\[rs]n");                  break;
+    default:       printf("unknown?\[rs]n");                break;
     }
 \&
-    printf("I\-node number:            %ju\en", (uintmax_t) sb.st_ino);
+    printf("I\-node number:            %ju\[rs]n", (uintmax_t) sb.st_ino);
 \&
-    printf("Mode:                     %jo (octal)\en",
+    printf("Mode:                     %jo (octal)\[rs]n",
            (uintmax_t) sb.st_mode);
 \&
-    printf("Link count:               %ju\en", (uintmax_t) sb.st_nlink);
-    printf("Ownership:                UID=%ju   GID=%ju\en",
+    printf("Link count:               %ju\[rs]n", (uintmax_t) sb.st_nlink);
+    printf("Ownership:                UID=%ju   GID=%ju\[rs]n",
            (uintmax_t) sb.st_uid, (uintmax_t) sb.st_gid);
 \&
-    printf("Preferred I/O block size: %jd bytes\en",
+    printf("Preferred I/O block size: %jd bytes\[rs]n",
            (intmax_t) sb.st_blksize);
-    printf("File size:                %jd bytes\en",
+    printf("File size:                %jd bytes\[rs]n",
            (intmax_t) sb.st_size);
-    printf("Blocks allocated:         %jd\en",
+    printf("Blocks allocated:         %jd\[rs]n",
            (intmax_t) sb.st_blocks);
 \&
     printf("Last status change:       %s", ctime(&sb.st_ctime));
man/man2/sysctl.2 +1 -1
index 3d91dc632..090c99fc0 100644
@@ -151,7 +151,7 @@ .SH EXAMPLES
         perror("_sysctl");
         exit(EXIT_FAILURE);
     }
-    printf("This machine is running %*s\en", (int) osnamelth, osname);
+    printf("This machine is running %*s\[rs]n", (int) osnamelth, osname);
     exit(EXIT_SUCCESS);
 }
 .EE
man/man2/tee.2 +1 -1
index 18f6b39a0..4873ce731 100644
@@ -150,7 +150,7 @@ .SS Program source
     ssize_t  len, slen;
 \&
     if (argc != 2) {
-        fprintf(stderr, "Usage: %s <file>\en", argv[0]);
+        fprintf(stderr, "Usage: %s <file>\[rs]n", argv[0]);
         exit(EXIT_FAILURE);
     }
 \&
man/man2/timer_create.2 +10 -10
index 1109858b8..c42880255 100644
@@ -364,7 +364,7 @@ .SS Program source
 #define CLOCKID CLOCK_REALTIME
 #define SIG SIGRTMIN
 \&
-#define errExit(msg)    do { perror(msg); exit(EXIT_FAILURE); \e
+#define errExit(msg)    do { perror(msg); exit(EXIT_FAILURE); \[rs]
                         } while (0)
 \&
 static void
@@ -376,13 +376,13 @@ .SS Program source
     tidp = si\->si_value.sival_ptr;
 \&
     printf("    sival_ptr = %p; ", si\->si_value.sival_ptr);
-    printf("    *sival_ptr = %#jx\en", (uintmax_t) *tidp);
+    printf("    *sival_ptr = %#jx\[rs]n", (uintmax_t) *tidp);
 \&
     or = timer_getoverrun(*tidp);
     if (or == \-1)
         errExit("timer_getoverrun");
     else
-        printf("    overrun count = %d\en", or);
+        printf("    overrun count = %d\[rs]n", or);
 }
 \&
 static void
@@ -394,7 +394,7 @@ .SS Program source
        Nevertheless, we use printf() here as a simple way of
        showing that the handler was called. */
 \&
-    printf("Caught signal %d\en", sig);
+    printf("Caught signal %d\[rs]n", sig);
     print_siginfo(si);
     signal(sig, SIG_IGN);
 }
@@ -410,14 +410,14 @@ .SS Program source
     struct itimerspec  its;
 \&
     if (argc != 3) {
-        fprintf(stderr, "Usage: %s <sleep\-secs> <freq\-nanosecs>\en",
+        fprintf(stderr, "Usage: %s <sleep\-secs> <freq\-nanosecs>\[rs]n",
                 argv[0]);
         exit(EXIT_FAILURE);
     }
 \&
     /* Establish handler for timer signal. */
 \&
-    printf("Establishing handler for signal %d\en", SIG);
+    printf("Establishing handler for signal %d\[rs]n", SIG);
     sa.sa_flags = SA_SIGINFO;
     sa.sa_sigaction = handler;
     sigemptyset(&sa.sa_mask);
@@ -426,7 +426,7 @@ .SS Program source
 \&
     /* Block timer signal temporarily. */
 \&
-    printf("Blocking signal %d\en", SIG);
+    printf("Blocking signal %d\[rs]n", SIG);
     sigemptyset(&mask);
     sigaddset(&mask, SIG);
     if (sigprocmask(SIG_SETMASK, &mask, NULL) == \-1)
@@ -440,7 +440,7 @@ .SS Program source
     if (timer_create(CLOCKID, &sev, &timerid) == \-1)
         errExit("timer_create");
 \&
-    printf("timer ID is %#jx\en", (uintmax_t) timerid);
+    printf("timer ID is %#jx\[rs]n", (uintmax_t) timerid);
 \&
     /* Start the timer. */
 \&
@@ -456,13 +456,13 @@ .SS Program source
     /* Sleep for a while; meanwhile, the timer may expire
        multiple times. */
 \&
-    printf("Sleeping for %d seconds\en", atoi(argv[1]));
+    printf("Sleeping for %d seconds\[rs]n", atoi(argv[1]));
     sleep(atoi(argv[1]));
 \&
     /* Unlock the timer signal, so that timer notification
        can be delivered. */
 \&
-    printf("Unblocking signal %d\en", SIG);
+    printf("Unblocking signal %d\[rs]n", SIG);
     if (sigprocmask(SIG_UNBLOCK, &mask, NULL) == \-1)
         errExit("sigprocmask");
 \&
man/man2/timerfd_create.2 +3 -3
index 8d3fd0da4..428919b99 100644
@@ -644,7 +644,7 @@ .SS Program source
     struct itimerspec  new_value;
 \&
     if (argc != 2 && argc != 4) {
-        fprintf(stderr, "%s init\-secs [interval\-secs max\-exp]\en",
+        fprintf(stderr, "%s init\-secs [interval\-secs max\-exp]\[rs]n",
                 argv[0]);
         exit(EXIT_FAILURE);
     }
@@ -674,7 +674,7 @@ .SS Program source
         err(EXIT_FAILURE, "timerfd_settime");
 \&
     print_elapsed_time();
-    printf("timer started\en");
+    printf("timer started\[rs]n");
 \&
     for (tot_exp = 0; tot_exp < max_exp;) {
         s = read(fd, &exp, sizeof(uint64_t));
@@ -683,7 +683,7 @@ .SS Program source
 \&
         tot_exp += exp;
         print_elapsed_time();
-        printf("read: %" PRIu64 "; total=%" PRIu64 "\en", exp, tot_exp);
+        printf("read: %" PRIu64 "; total=%" PRIu64 "\[rs]n", exp, tot_exp);
     }
 \&
     exit(EXIT_SUCCESS);
man/man2/truncate.2 +1 -1
index ac72f8820..cc4746913 100644
@@ -61,7 +61,7 @@ .SH DESCRIPTION
 .P
 If the file previously was larger than this size, the extra data is lost.
 If the file previously was shorter, it is extended, and
-the extended part reads as null bytes (\[aq]\e0\[aq]).
+the extended part reads as null bytes (\[aq]\[rs]0\[aq]).
 .P
 The file offset is not changed.
 .P
man/man2/uname.2 +1 -1
index 99178fc22..572bfd3a6 100644
@@ -45,7 +45,7 @@ .SH DESCRIPTION
 The length of the arrays in a
 .I struct utsname
 is unspecified (see NOTES);
-the fields are terminated by a null byte (\[aq]\e0\[aq]).
+the fields are terminated by a null byte (\[aq]\[rs]0\[aq]).
 .SH RETURN VALUE
 On success, zero is returned.
 On error, \-1 is returned, and
man/man2/unshare.2 +10 -10
index 98d92cf72..1ae3e548d 100644
@@ -510,16 +510,16 @@ .SS Program source
 static void
 usage(char *pname)
 {
-    fprintf(stderr, "Usage: %s [options] program [arg...]\en", pname);
-    fprintf(stderr, "Options can be:\en");
-    fprintf(stderr, "    \-C   unshare cgroup namespace\en");
-    fprintf(stderr, "    \-i   unshare IPC namespace\en");
-    fprintf(stderr, "    \-m   unshare mount namespace\en");
-    fprintf(stderr, "    \-n   unshare network namespace\en");
-    fprintf(stderr, "    \-p   unshare PID namespace\en");
-    fprintf(stderr, "    \-t   unshare time namespace\en");
-    fprintf(stderr, "    \-u   unshare UTS namespace\en");
-    fprintf(stderr, "    \-U   unshare user namespace\en");
+    fprintf(stderr, "Usage: %s [options] program [arg...]\[rs]n", pname);
+    fprintf(stderr, "Options can be:\[rs]n");
+    fprintf(stderr, "    \-C   unshare cgroup namespace\[rs]n");
+    fprintf(stderr, "    \-i   unshare IPC namespace\[rs]n");
+    fprintf(stderr, "    \-m   unshare mount namespace\[rs]n");
+    fprintf(stderr, "    \-n   unshare network namespace\[rs]n");
+    fprintf(stderr, "    \-p   unshare PID namespace\[rs]n");
+    fprintf(stderr, "    \-t   unshare time namespace\[rs]n");
+    fprintf(stderr, "    \-u   unshare UTS namespace\[rs]n");
+    fprintf(stderr, "    \-U   unshare user namespace\[rs]n");
     exit(EXIT_FAILURE);
 }
 \&
man/man2/userfaultfd.2 +9 -9
index fa6038774..49662080e 100644
@@ -799,9 +799,9 @@ .SS Program source
         if (nready == \-1)
             err(EXIT_FAILURE, "poll");
 \&
-        printf("\enfault_handler_thread():\en");
+        printf("\[rs]nfault_handler_thread():\[rs]n");
         printf("    poll() returns: nready = %d; "
-               "POLLIN = %d; POLLERR = %d\en", nready,
+               "POLLIN = %d; POLLERR = %d\[rs]n", nready,
                (pollfd.revents & POLLIN) != 0,
                (pollfd.revents & POLLERR) != 0);
 \&
@@ -809,7 +809,7 @@ .SS Program source
 \&
         nread = read(uffd, &msg, sizeof(msg));
         if (nread == 0) {
-            printf("EOF on userfaultfd!\en");
+            printf("EOF on userfaultfd!\[rs]n");
             exit(EXIT_FAILURE);
         }
 \&
@@ -819,7 +819,7 @@ .SS Program source
         /* We expect only one kind of event; verify that assumption. */
 \&
         if (msg.event != UFFD_EVENT_PAGEFAULT) {
-            fprintf(stderr, "Unexpected event on userfaultfd\en");
+            fprintf(stderr, "Unexpected event on userfaultfd\[rs]n");
             exit(EXIT_FAILURE);
         }
 \&
@@ -827,7 +827,7 @@ .SS Program source
 \&
         printf("    UFFD_EVENT_PAGEFAULT event: ");
         printf("flags = %"PRIx64"; ", msg.arg.pagefault.flags);
-        printf("address = %"PRIx64"\en", msg.arg.pagefault.address);
+        printf("address = %"PRIx64"\[rs]n", msg.arg.pagefault.address);
 \&
         /* Copy the page pointed to by \[aq]page\[aq] into the faulting
            region. Vary the contents that are copied in, so that it
@@ -849,7 +849,7 @@ .SS Program source
         if (ioctl(uffd, UFFDIO_COPY, &uffdio_copy) == \-1)
             err(EXIT_FAILURE, "ioctl\-UFFDIO_COPY");
 \&
-        printf("        (uffdio_copy.copy returned %"PRId64")\en",
+        printf("        (uffdio_copy.copy returned %"PRId64")\[rs]n",
                uffdio_copy.copy);
     }
 }
@@ -867,7 +867,7 @@ .SS Program source
     struct uffdio_register  uffdio_register;
 \&
     if (argc != 2) {
-        fprintf(stderr, "Usage: %s num\-pages\en", argv[0]);
+        fprintf(stderr, "Usage: %s num\-pages\[rs]n", argv[0]);
         exit(EXIT_FAILURE);
     }
 \&
@@ -902,7 +902,7 @@ .SS Program source
     if (addr == MAP_FAILED)
         err(EXIT_FAILURE, "mmap");
 \&
-    printf("Address returned by mmap() = %p\en", addr);
+    printf("Address returned by mmap() = %p\[rs]n", addr);
 \&
     /* Register the memory range of the mapping we just created for
        handling by the userfaultfd object. In mode, we request to track
@@ -931,7 +931,7 @@ .SS Program source
     while (l < len) {
         c = addr[l];
         printf("Read address %p in %s(): ", addr + l, __func__);
-        printf("%c\en", c);
+        printf("%c\[rs]n", c);
         l += 1024;
         usleep(100000);         /* Slow things down a little */
     }
man/man2/ustat.2 +1 -1
index 2b47f9f54..c7ccacfad 100644
@@ -47,7 +47,7 @@ .SH DESCRIPTION
 and
 .IR f_fpack ,
 are not implemented and will
-always be filled with null bytes (\[aq]\e0\[aq]).
+always be filled with null bytes (\[aq]\[rs]0\[aq]).
 .SH RETURN VALUE
 On success, zero is returned and the
 .I ustat
man/man2/wait.2 +5 -5
index ff68f2ddb..dbbb8abf5 100644
@@ -678,7 +678,7 @@ .SS Program source
     }
 \&
     if (cpid == 0) {            /* Code executed by child */
-        printf("Child PID is %jd\en", (intmax_t) getpid());
+        printf("Child PID is %jd\[rs]n", (intmax_t) getpid());
         if (argc == 1)
             pause();                    /* Wait for signals */
         _exit(atoi(argv[1]));
@@ -692,13 +692,13 @@ .SS Program source
             }
 \&
             if (WIFEXITED(wstatus)) {
-                printf("exited, status=%d\en", WEXITSTATUS(wstatus));
+                printf("exited, status=%d\[rs]n", WEXITSTATUS(wstatus));
             } else if (WIFSIGNALED(wstatus)) {
-                printf("killed by signal %d\en", WTERMSIG(wstatus));
+                printf("killed by signal %d\[rs]n", WTERMSIG(wstatus));
             } else if (WIFSTOPPED(wstatus)) {
-                printf("stopped by signal %d\en", WSTOPSIG(wstatus));
+                printf("stopped by signal %d\[rs]n", WSTOPSIG(wstatus));
             } else if (WIFCONTINUED(wstatus)) {
-                printf("continued\en");
+                printf("continued\[rs]n");
             }
         } while (!WIFEXITED(wstatus) && !WIFSIGNALED(wstatus));
         exit(EXIT_SUCCESS);
man/man2const/FAT_IOCTL_GET_VOLUME_ID.2const +3 -3
index dfae1bab1..968fa75f3 100644
@@ -41,7 +41,7 @@ .SH DESCRIPTION
 .P
 .in +4n
 .EX
-printf("Volume ID %04x\-%04x\en", id >> 16, id & 0xFFFF);
+printf("Volume ID %04x\-%04x\[rs]n", id >> 16, id & 0xFFFF);
 .EE
 .in
 .SH RETURN VALUE
@@ -90,7 +90,7 @@ .SS Program source (display_fat_volume_id.c)
     uint32_t  id;
 \&
     if (argc != 2) {
-        printf("Usage: %s FILENAME\en", argv[0]);
+        printf("Usage: %s FILENAME\[rs]n", argv[0]);
         exit(EXIT_FAILURE);
     }
 \&
@@ -112,7 +112,7 @@ .SS Program source (display_fat_volume_id.c)
     /*
      * Format the output as two groups of 16 bits each.
      */
-    printf("Volume ID %04x\-%04x\en", id >> 16, id & 0xFFFF);
+    printf("Volume ID %04x\-%04x\[rs]n", id >> 16, id & 0xFFFF);
 \&
     close(fd);
 \&
man/man2const/FAT_IOCTL_SET_ATTRIBUTES.2const +4 -4
index 5fe63ccab..97a8b2a72 100644
@@ -126,9 +126,9 @@ .SS Program source (toggle_fat_archive_flag.c)
     }
 \&
     if (attr & ATTR_ARCH)
-        printf("Archive flag is set\en");
+        printf("Archive flag is set\[rs]n");
     else
-        printf("Archive flag is not set\en");
+        printf("Archive flag is not set\[rs]n");
 \&
     return attr;
 }
@@ -141,7 +141,7 @@ .SS Program source (toggle_fat_archive_flag.c)
     uint32_t  attr;
 \&
     if (argc != 2) {
-        printf("Usage: %s FILENAME\en", argv[0]);
+        printf("Usage: %s FILENAME\[rs]n", argv[0]);
         exit(EXIT_FAILURE);
     }
 \&
@@ -159,7 +159,7 @@ .SS Program source (toggle_fat_archive_flag.c)
     /*
      * Invert archive attribute.
      */
-    printf("Toggling archive flag\en");
+    printf("Toggling archive flag\[rs]n");
     attr \[ha]= ATTR_ARCH;
 \&
     /*
man/man2const/NS_GET_USERNS.2const +10 -10
index 68a2b45dc..1c1e925f1 100644
@@ -192,13 +192,13 @@ .SS Program source
     struct stat  sb;
 \&
     if (argc < 2) {
-        fprintf(stderr, "Usage: %s /proc/[pid]/ns/[file] [p|u]\en",
+        fprintf(stderr, "Usage: %s /proc/[pid]/ns/[file] [p|u]\[rs]n",
                 argv[0]);
-        fprintf(stderr, "\enDisplay the result of one or both "
-                "of NS_GET_USERNS (u) or NS_GET_PARENT (p)\en"
+        fprintf(stderr, "\[rs]nDisplay the result of one or both "
+                "of NS_GET_USERNS (u) or NS_GET_PARENT (p)\[rs]n"
                 "for the specified /proc/[pid]/ns/[file]. If neither "
-                "\[aq]p\[aq] nor \[aq]u\[aq] is specified,\en"
-                "NS_GET_USERNS is the default.\en");
+                "\[aq]p\[aq] nor \[aq]u\[aq] is specified,\[rs]n"
+                "NS_GET_USERNS is the default.\[rs]n");
         exit(EXIT_FAILURE);
     }
 \&
@@ -220,7 +220,7 @@ .SS Program source
         if (userns_fd == \-1) {
             if (errno == EPERM)
                 printf("The owning user namespace is outside "
-                       "your namespace scope\en");
+                       "your namespace scope\[rs]n");
             else
                perror("ioctl\-NS_GET_USERNS");
             exit(EXIT_FAILURE);
@@ -231,7 +231,7 @@ .SS Program source
             exit(EXIT_FAILURE);
         }
         printf("Device/Inode of owning user namespace is: "
-               "[%x,%x] / %ju\en",
+               "[%x,%x] / %ju\[rs]n",
                major(sb.st_dev),
                minor(sb.st_dev),
                (uintmax_t) sb.st_ino);
@@ -248,10 +248,10 @@ .SS Program source
         if (parent_fd == \-1) {
             if (errno == EINVAL)
                 printf("Can\[aq] get parent namespace of a "
-                       "nonhierarchical namespace\en");
+                       "nonhierarchical namespace\[rs]n");
             else if (errno == EPERM)
                 printf("The parent namespace is outside "
-                       "your namespace scope\en");
+                       "your namespace scope\[rs]n");
             else
                 perror("ioctl\-NS_GET_PARENT");
             exit(EXIT_FAILURE);
@@ -261,7 +261,7 @@ .SS Program source
             perror("fstat\-parentns");
             exit(EXIT_FAILURE);
         }
-        printf("Device/Inode of parent namespace is: [%x,%x] / %ju\en",
+        printf("Device/Inode of parent namespace is: [%x,%x] / %ju\[rs]n",
                major(sb.st_dev),
                minor(sb.st_dev),
                (uintmax_t) sb.st_ino);
man/man2const/PR_SET_VMA.2const +1 -1
index 752fb19d1..eb3a8c836 100644
@@ -50,7 +50,7 @@ .SH DESCRIPTION
 will be reset.
 The name can contain only printable ascii characters
 .RB ( isprint (3)),
-except \[aq][\[aq], \[aq]]\[aq], \[aq]\e\[aq], \[aq]$\[aq], and \[aq]\[ga]\[aq].
+except \[aq][\[aq], \[aq]]\[aq], \[aq]\[rs]\[aq], \[aq]$\[aq], and \[aq]\[ga]\[aq].
 .SH RETURN VALUE
 On success,
 0 is returned.
man/man2const/TCSETS.2const +4 -4
index f1e4d1d6d..541da7952 100644
@@ -179,7 +179,7 @@ .SH EXAMPLES
 main(int argc, char *argv[])
 {
 #if !defined BOTHER
-    fprintf(stderr, "BOTHER is unsupported\en");
+    fprintf(stderr, "BOTHER is unsupported\[rs]n");
     /* Program may fallback to TCGETS/TCSETS with Bnnn constants */
     exit(EXIT_FAILURE);
 #else
@@ -192,7 +192,7 @@ .SH EXAMPLES
     int fd, rc;
 \&
     if (argc != 2 && argc != 3 && argc != 4) {
-        fprintf(stderr, "Usage: %s device [output [input] ]\en", argv[0]);
+        fprintf(stderr, "Usage: %s device [output [input] ]\[rs]n", argv[0]);
         exit(EXIT_FAILURE);
     }
 \&
@@ -254,8 +254,8 @@ .SH EXAMPLES
 \&
     close(fd);
 \&
-    printf("output baud rate: %u\en", tio.c_ospeed);
-    printf("input baud rate: %u\en", tio.c_ispeed);
+    printf("output baud rate: %u\[rs]n", tio.c_ospeed);
+    printf("input baud rate: %u\[rs]n", tio.c_ispeed);
 \&
     exit(EXIT_SUCCESS);
 #endif
man/man2const/TIOCPKT.2const +1 -1
index 528200fdd..744ea9ac9 100644
@@ -42,7 +42,7 @@ .SH DESCRIPTION
 In packet mode, each subsequent
 .BR read (2)
 will return a packet that either contains a single nonzero control byte,
-or has a single byte containing zero (\[aq]\e0\[aq]) followed by data
+or has a single byte containing zero (\[aq]\[rs]0\[aq]) followed by data
 written on the slave side of the pseudoterminal.
 If the first byte is not
 .B TIOCPKT_DATA
man/man2const/VFAT_IOCTL_READDIR_BOTH.2const +2 -2
index ecac84b93..5f26c5406 100644
@@ -151,7 +151,7 @@ .SS Program source
     struct __fat_dirent  entry[2];
 \&
     if (argc != 2) {
-        printf("Usage: %s DIRECTORY\en", argv[0]);
+        printf("Usage: %s DIRECTORY\[rs]n", argv[0]);
         exit(EXIT_FAILURE);
     }
 \&
@@ -184,7 +184,7 @@ .SS Program source
         /*
          * Write both the short name and the long name.
          */
-        printf("%s \-> \[aq]%s\[aq]\en", entry[0].d_name, entry[1].d_name);
+        printf("%s \-> \[aq]%s\[aq]\[rs]n", entry[0].d_name, entry[1].d_name);
     }
 \&
     if (ret == \-1) {
man/man3/CPU_SET.3 +2 -2
index 402910913..c1313f81f 100644
@@ -316,7 +316,7 @@ .SH EXAMPLES
     size_t size, num_cpus;
 \&
     if (argc < 2) {
-        fprintf(stderr, "Usage: %s <num\-cpus>\en", argv[0]);
+        fprintf(stderr, "Usage: %s <num\-cpus>\[rs]n", argv[0]);
         exit(EXIT_FAILURE);
     }
 \&
@@ -334,7 +334,7 @@ .SH EXAMPLES
     for (size_t cpu = 0; cpu < num_cpus; cpu += 2)
         CPU_SET_S(cpu, size, cpusetp);
 \&
-    printf("CPU_COUNT() of set:    %d\en", CPU_COUNT_S(size, cpusetp));
+    printf("CPU_COUNT() of set:    %d\[rs]n", CPU_COUNT_S(size, cpusetp));
 \&
     CPU_FREE(cpusetp);
     exit(EXIT_SUCCESS);
man/man3/MAX.3 +2 -2
index 9e74ad614..8ced39a94 100644
@@ -57,14 +57,14 @@ .SH EXAMPLES
     int a, b, x;
 \&
     if (argc != 3) {
-        fprintf(stderr, "Usage: %s <num> <num>\en", argv[0]);
+        fprintf(stderr, "Usage: %s <num> <num>\[rs]n", argv[0]);
         exit(EXIT_FAILURE);
     }
 \&
     a = atoi(argv[1]);
     b = atoi(argv[2]);
     x = MAX(a, b);
-    printf("MAX(%d, %d) is %d\en", a, b, x);
+    printf("MAX(%d, %d) is %d\[rs]n", a, b, x);
 \&
     exit(EXIT_SUCCESS);
 }
man/man3/_Generic.3 +8 -8
index 788a117dd..09b64e6fa 100644
@@ -41,10 +41,10 @@ .SH EXAMPLES
 #include <stdio.h>
 #include <stdlib.h>
 \&
-#define my_imaxabs  _Generic(INTMAX_C(0),  \e
-    long:           labs,                  \e
-    long long:      llabs                  \e
-/*  long long long: lllabs */              \e
+#define my_imaxabs  _Generic(INTMAX_C(0),  \[rs]
+    long:           labs,                  \[rs]
+    long long:      llabs                  \[rs]
+/*  long long long: lllabs */              \[rs]
 )
 \&
 int
@@ -53,10 +53,10 @@ .SH EXAMPLES
     off_t  a;
 \&
     a = \-42;
-    printf("imaxabs(%jd) == %jd\en", (intmax_t) a, my_imaxabs(a));
-    printf("&imaxabs == %p\en", &my_imaxabs);
-    printf("&labs    == %p\en", &labs);
-    printf("&llabs   == %p\en", &llabs);
+    printf("imaxabs(%jd) == %jd\[rs]n", (intmax_t) a, my_imaxabs(a));
+    printf("&imaxabs == %p\[rs]n", &my_imaxabs);
+    printf("&labs    == %p\[rs]n", &labs);
+    printf("&llabs   == %p\[rs]n", &llabs);
 \&
     exit(EXIT_SUCCESS);
 }
man/man3/__ppc_get_timebase.3 +2 -2
index ee922c130..9df5ceb5e 100644
@@ -72,7 +72,7 @@ .SS Program source
     uint64_t freq;
 \&
     freq = __ppc_get_timebase_freq();
-    printf("Time Base frequency = %"PRIu64" Hz\en", freq);
+    printf("Time Base frequency = %"PRIu64" Hz\[rs]n", freq);
 \&
     tb1 = __ppc_get_timebase();
 \&
@@ -87,7 +87,7 @@ .SS Program source
         diff = (MAX_TB \- tb2) + tb1;
     }
 \&
-    printf("Elapsed time  = %1.2f usecs\en",
+    printf("Elapsed time  = %1.2f usecs\[rs]n",
            (double) diff * 1000000 / freq);
 \&
     exit(EXIT_SUCCESS);
man/man3/argz_add.3 +3 -3
index 4b4fc4f8d..edc80e183 100644
@@ -60,7 +60,7 @@ .SH DESCRIPTION
 .P
 An argz vector is a pointer to a character buffer together with a length.
 The intended interpretation of the character buffer is an array
-of strings, where the strings are separated by null bytes (\[aq]\e0\[aq]).
+of strings, where the strings are separated by null bytes (\[aq]\[rs]0\[aq]).
 If the length is nonzero, the last byte of the buffer must be a null byte.
 .P
 These functions are for handling argz vectors.
@@ -106,7 +106,7 @@ .SH DESCRIPTION
 .P
 .BR argz_count ()
 counts the number of strings, that is,
-the number of null bytes (\[aq]\e0\[aq]), in
+the number of null bytes (\[aq]\[rs]0\[aq]), in
 .RI ( argz ,\  argz_len ).
 .P
 .BR argz_create ()
@@ -194,7 +194,7 @@ .SH DESCRIPTION
 is the opposite of
 .BR argz_create_sep ().
 It transforms the argz vector into a normal string by replacing
-all null bytes (\[aq]\e0\[aq]) except the last by
+all null bytes (\[aq]\[rs]0\[aq]) except the last by
 .IR sep .
 .SH RETURN VALUE
 All argz functions that do memory allocation have a return type of
man/man3/asprintf.3 +1 -1
index bd5fcf7fa..eeb168aa3 100644
@@ -30,7 +30,7 @@ .SH DESCRIPTION
 and
 .BR vsprintf (3),
 except that they allocate a string large enough to hold the output
-including the terminating null byte (\[aq]\e0\[aq]),
+including the terminating null byte (\[aq]\[rs]0\[aq]),
 and return a pointer to it via the first argument.
 This pointer should be passed to
 .BR free (3)
man/man3/atexit.3 +3 -3
index 88f2817b8..78dcdf839 100644
@@ -140,7 +140,7 @@ .SH EXAMPLES
 void
 bye(void)
 {
-    printf("That was all, folks\en");
+    printf("That was all, folks\[rs]n");
 }
 \&
 int
@@ -150,11 +150,11 @@ .SH EXAMPLES
     int i;
 \&
     a = sysconf(_SC_ATEXIT_MAX);
-    printf("ATEXIT_MAX = %ld\en", a);
+    printf("ATEXIT_MAX = %ld\[rs]n", a);
 \&
     i = atexit(bye);
     if (i != 0) {
-        fprintf(stderr, "cannot set exit function\en");
+        fprintf(stderr, "cannot set exit function\[rs]n");
         exit(EXIT_FAILURE);
     }
 \&
man/man3/backtrace.3 +3 -3
index 4875da31f..4876448c6 100644
@@ -229,7 +229,7 @@ .SS Program source
     char **strings;
 \&
     nptrs = backtrace(buffer, BT_BUF_SIZE);
-    printf("backtrace() returned %d addresses\en", nptrs);
+    printf("backtrace() returned %d addresses\[rs]n", nptrs);
 \&
     /* The call backtrace_symbols_fd(buffer, nptrs, STDOUT_FILENO)
        would produce similar output to the following: */
@@ -241,7 +241,7 @@ .SS Program source
     }
 \&
     for (size_t j = 0; j < nptrs; j++)
-        printf("%s\en", strings[j]);
+        printf("%s\[rs]n", strings[j]);
 \&
     free(strings);
 }
@@ -265,7 +265,7 @@ .SS Program source
 main(int argc, char *argv[])
 {
     if (argc != 2) {
-        fprintf(stderr, "%s num\-calls\en", argv[0]);
+        fprintf(stderr, "%s num\-calls\[rs]n", argv[0]);
         exit(EXIT_FAILURE);
     }
 \&
man/man3/basename.3 +1 -1
index 2702a05f8..6f81b3504 100644
@@ -179,7 +179,7 @@ .SH EXAMPLES
 basec = strdup(path);
 dname = dirname(dirc);
 bname = basename(basec);
-printf("dirname=%s, basename=%s\en", dname, bname);
+printf("dirname=%s, basename=%s\[rs]n", dname, bname);
 .EE
 .in
 .SH SEE ALSO
man/man3/bsearch.3 +2 -2
index 56ba64486..ba3f57664 100644
@@ -124,9 +124,9 @@ .SH EXAMPLES
         res = bsearch(&key, months, ARRAY_SIZE(months),
                       sizeof(months[0]), compmi);
         if (res == NULL)
-            printf("\[aq]%s\[aq]: unknown month\en", argv[i]);
+            printf("\[aq]%s\[aq]: unknown month\[rs]n", argv[i]);
         else
-            printf("%s: month #%d\en", res\->name, res\->nr);
+            printf("%s: month #%d\[rs]n", res\->name, res\->nr);
     }
     exit(EXIT_SUCCESS);
 }
man/man3/bswap.3 +2 -2
index d7bac680c..28229c9e3 100644
@@ -52,12 +52,12 @@ .SS Program source
     uint64_t x;
 \&
     if (argc != 2) {
-        fprintf(stderr, "Usage: %s <num>\en", argv[0]);
+        fprintf(stderr, "Usage: %s <num>\[rs]n", argv[0]);
         exit(EXIT_FAILURE);
     }
 \&
     x = strtoull(argv[1], NULL, 0);
-    printf("%#" PRIx64 " ==> %#" PRIx64 "\en", x, bswap_64(x));
+    printf("%#" PRIx64 " ==> %#" PRIx64 "\[rs]n", x, bswap_64(x));
 \&
     exit(EXIT_SUCCESS);
 }
man/man3/bzero.3 +1 -1
index f6c0ca2f3..84754f73e 100644
@@ -26,7 +26,7 @@ .SH DESCRIPTION
 .I n
 bytes of the memory starting at the location pointed to by
 .IR s ,
-by writing zeros (bytes containing \[aq]\e0\[aq]) to that area.
+by writing zeros (bytes containing \[aq]\[rs]0\[aq]) to that area.
 .P
 The
 .BR explicit_bzero ()
man/man3/cacos.3 +3 -3
index 13a57e1ab..701d89f32 100644
@@ -69,7 +69,7 @@ .SH EXAMPLES
     double complex i = I;
 \&
     if (argc != 3) {
-        fprintf(stderr, "Usage: %s <real> <imag>\en", argv[0]);
+        fprintf(stderr, "Usage: %s <real> <imag>\[rs]n", argv[0]);
         exit(EXIT_FAILURE);
     }
 \&
@@ -77,11 +77,11 @@ .SH EXAMPLES
 \&
     c = cacos(z);
 \&
-    printf("cacos() = %6.3f %6.3f*i\en", creal(c), cimag(c));
+    printf("cacos() = %6.3f %6.3f*i\[rs]n", creal(c), cimag(c));
 \&
     f = \-i * clog(z + i * csqrt(1 \- z * z));
 \&
-    printf("formula = %6.3f %6.3f*i\en", creal(f), cimag(f));
+    printf("formula = %6.3f %6.3f*i\[rs]n", creal(f), cimag(f));
 \&
     exit(EXIT_SUCCESS);
 }
man/man3/cacosh.3 +3 -3
index c6b3a2067..bebd65f14 100644
@@ -71,17 +71,17 @@ .SH EXAMPLES
     double complex z, c, f;
 \&
     if (argc != 3) {
-        fprintf(stderr, "Usage: %s <real> <imag>\en", argv[0]);
+        fprintf(stderr, "Usage: %s <real> <imag>\[rs]n", argv[0]);
         exit(EXIT_FAILURE);
     }
 \&
     z = atof(argv[1]) + atof(argv[2]) * I;
 \&
     c = cacosh(z);
-    printf("cacosh() = %6.3f %6.3f*i\en", creal(c), cimag(c));
+    printf("cacosh() = %6.3f %6.3f*i\[rs]n", creal(c), cimag(c));
 \&
     f = 2 * clog(csqrt((z + 1)/2) + csqrt((z \- 1)/2));
-    printf("formula  = %6.3f %6.3f*i\en", creal(f), cimag(f));
+    printf("formula  = %6.3f %6.3f*i\[rs]n", creal(f), cimag(f));
 \&
     exit(EXIT_SUCCESS);
 }
man/man3/catan.3 +3 -3
index d8e290853..c1987ced0 100644
@@ -71,17 +71,17 @@ .SH EXAMPLES
     double complex i = I;
 \&
     if (argc != 3) {
-        fprintf(stderr, "Usage: %s <real> <imag>\en", argv[0]);
+        fprintf(stderr, "Usage: %s <real> <imag>\[rs]n", argv[0]);
         exit(EXIT_FAILURE);
     }
 \&
     z = atof(argv[1]) + atof(argv[2]) * I;
 \&
     c = catan(z);
-    printf("catan() = %6.3f %6.3f*i\en", creal(c), cimag(c));
+    printf("catan() = %6.3f %6.3f*i\[rs]n", creal(c), cimag(c));
 \&
     f = (clog(1 + i * z) \- clog(1 \- i * z)) / (2 * i);
-    printf("formula = %6.3f %6.3f*i\en", creal(f), cimag(f));
+    printf("formula = %6.3f %6.3f*i\[rs]n", creal(f), cimag(f));
 \&
     exit(EXIT_SUCCESS);
 }
man/man3/catanh.3 +3 -3
index f6749fe6c..db121d762 100644
@@ -70,17 +70,17 @@ .SH EXAMPLES
     double complex z, c, f;
 \&
     if (argc != 3) {
-        fprintf(stderr, "Usage: %s <real> <imag>\en", argv[0]);
+        fprintf(stderr, "Usage: %s <real> <imag>\[rs]n", argv[0]);
         exit(EXIT_FAILURE);
     }
 \&
     z = atof(argv[1]) + atof(argv[2]) * I;
 \&
     c = catanh(z);
-    printf("catanh() = %6.3f %6.3f*i\en", creal(c), cimag(c));
+    printf("catanh() = %6.3f %6.3f*i\[rs]n", creal(c), cimag(c));
 \&
     f = 0.5 * (clog(1 + z) \- clog(1 \- z));
-    printf("formula  = %6.3f %6.3f*i\en", creal(f), cimag(f));
+    printf("formula  = %6.3f %6.3f*i\[rs]n", creal(f), cimag(f));
 \&
     exit(EXIT_SUCCESS);
 }
man/man3/catgets.3 +1 -1
index 58320b673..442f496d5 100644
@@ -39,7 +39,7 @@ .SH DESCRIPTION
 message-text is contained in an internal buffer area and should be copied by
 the application if it is to be saved or modified.
 The return string is
-always terminated with a null byte (\[aq]\e0\[aq]).
+always terminated with a null byte (\[aq]\[rs]0\[aq]).
 .SH RETURN VALUE
 On success,
 .BR catgets ()
man/man3/circleq.3 +1 -1
index 75442e710..3c6dbebfa 100644
@@ -299,7 +299,7 @@ .SH EXAMPLES
         np\->data = i++;
                                             /* Reverse traversal */
     CIRCLEQ_FOREACH_REVERSE(np, &head, entries)
-        printf("%i\en", np\->data);
+        printf("%i\[rs]n", np\->data);
                                             /* Queue deletion */
     n1 = CIRCLEQ_FIRST(&head);
     while (n1 != (void *)&head) {
man/man3/clock_getcpuclockid.3 +2 -2
index 0d6e231d7..ff4406792 100644
@@ -128,7 +128,7 @@ .SS Program source
     struct timespec ts;
 \&
     if (argc != 2) {
-        fprintf(stderr, "%s <process\-ID>\en", argv[0]);
+        fprintf(stderr, "%s <process\-ID>\[rs]n", argv[0]);
         exit(EXIT_FAILURE);
     }
 \&
@@ -142,7 +142,7 @@ .SS Program source
         exit(EXIT_FAILURE);
     }
 \&
-    printf("CPU\-time clock for PID %s is %jd.%09ld seconds\en",
+    printf("CPU\-time clock for PID %s is %jd.%09ld seconds\[rs]n",
            argv[1], (intmax_t) ts.tv_sec, ts.tv_nsec);
     exit(EXIT_SUCCESS);
 }
man/man3/confstr.3 +1 -1
index 5cb924cf0..f69d4cc82 100644
@@ -66,7 +66,7 @@ .SH DESCRIPTION
 .I buf
 truncated to
 .I size \- 1
-bytes if necessary, with a null byte (\[aq]\e0\[aq]) as terminator.
+bytes if necessary, with a null byte (\[aq]\[rs]0\[aq]) as terminator.
 This can be detected by comparing the return value of
 .BR confstr ()
 against
man/man3/ctime.3 +1 -1
index 4b3c3fc0d..559816912 100644
@@ -89,7 +89,7 @@ .SH DESCRIPTION
 .P
 .in +4n
 .EX
-"Wed Jun 30 21:49:08 1993\en"
+"Wed Jun 30 21:49:08 1993\[rs]n"
 .EE
 .in
 .P
man/man3/dl_iterate_phdr.3 +3 -3
index 0a8beb3ae..c9efa0e03 100644
@@ -294,7 +294,7 @@ .SS Program source
     char *type;
     int p_type;
 \&
-    printf("Name: \e"%s\e" (%d segments)\en", info\->dlpi_name,
+    printf("Name: \[rs]"%s\[rs]" (%d segments)\[rs]n", info\->dlpi_name,
            info\->dlpi_phnum);
 \&
     for (size_t j = 0; j < info\->dlpi_phnum; j++) {
@@ -315,9 +315,9 @@ .SS Program source
                (uintmax_t) info\->dlpi_phdr[j].p_memsz,
                (uintmax_t) info\->dlpi_phdr[j].p_flags);
         if (type != NULL)
-            printf("%s\en", type);
+            printf("%s\[rs]n", type);
         else
-            printf("[other (%#x)]\en", p_type);
+            printf("[other (%#x)]\[rs]n", p_type);
     }
 \&
     return 0;
man/man3/dlinfo.3 +6 -6
index c3a5662ca..ada8f643e 100644
@@ -257,7 +257,7 @@ .SS Program source
     Dl_serinfo *sip;
 \&
     if (argc != 2) {
-        fprintf(stderr, "Usage: %s <libpath>\en", argv[0]);
+        fprintf(stderr, "Usage: %s <libpath>\[rs]n", argv[0]);
         exit(EXIT_FAILURE);
     }
 \&
@@ -265,7 +265,7 @@ .SS Program source
 \&
     handle = dlopen(argv[1], RTLD_NOW);
     if (handle == NULL) {
-        fprintf(stderr, "dlopen() failed: %s\en", dlerror());
+        fprintf(stderr, "dlopen() failed: %s\[rs]n", dlerror());
         exit(EXIT_FAILURE);
     }
 \&
@@ -273,7 +273,7 @@ .SS Program source
        RTLD_DI_SERINFO. */
 \&
     if (dlinfo(handle, RTLD_DI_SERINFOSIZE, &serinfo) == \-1) {
-        fprintf(stderr, "RTLD_DI_SERINFOSIZE failed: %s\en", dlerror());
+        fprintf(stderr, "RTLD_DI_SERINFOSIZE failed: %s\[rs]n", dlerror());
         exit(EXIT_FAILURE);
     }
 \&
@@ -289,19 +289,19 @@ .SS Program source
        allocated buffer. */
 \&
     if (dlinfo(handle, RTLD_DI_SERINFOSIZE, sip) == \-1) {
-        fprintf(stderr, "RTLD_DI_SERINFOSIZE failed: %s\en", dlerror());
+        fprintf(stderr, "RTLD_DI_SERINFOSIZE failed: %s\[rs]n", dlerror());
         exit(EXIT_FAILURE);
     }
 \&
     /* Fetch and print library search list. */
 \&
     if (dlinfo(handle, RTLD_DI_SERINFO, sip) == \-1) {
-        fprintf(stderr, "RTLD_DI_SERINFO failed: %s\en", dlerror());
+        fprintf(stderr, "RTLD_DI_SERINFO failed: %s\[rs]n", dlerror());
         exit(EXIT_FAILURE);
     }
 \&
     for (size_t j = 0; j < serinfo.dls_cnt; j++)
-        printf("dls_serpath[%zu].dls_name = %s\en",
+        printf("dls_serpath[%zu].dls_name = %s\[rs]n",
                j, sip\->dls_serpath[j].dls_name);
 \&
     exit(EXIT_SUCCESS);
man/man3/dlopen.3 +3 -3
index 03fbc04e1..3f71c3113 100644
@@ -569,7 +569,7 @@ .SS Program source
 \&
     handle = dlopen(LIBM_SO, RTLD_LAZY);
     if (!handle) {
-        fprintf(stderr, "%s\en", dlerror());
+        fprintf(stderr, "%s\[rs]n", dlerror());
         exit(EXIT_FAILURE);
     }
 \&
@@ -598,11 +598,11 @@ .SS Program source
 \&
     error = dlerror();
     if (error != NULL) {
-        fprintf(stderr, "%s\en", error);
+        fprintf(stderr, "%s\[rs]n", error);
         exit(EXIT_FAILURE);
     }
 \&
-    printf("%f\en", (*cosine)(2.0));
+    printf("%f\[rs]n", (*cosine)(2.0));
     dlclose(handle);
     exit(EXIT_SUCCESS);
 }
man/man3/duplocale.3 +3 -3
index 246af79e9..96472a850 100644
@@ -123,7 +123,7 @@ .SS Program source
 #include <stdio.h>
 #include <stdlib.h>
 \&
-#define errExit(msg)    do { perror(msg); exit(EXIT_FAILURE); \e
+#define errExit(msg)    do { perror(msg); exit(EXIT_FAILURE); \[rs]
                         } while (0)
 \&
 int
@@ -132,7 +132,7 @@ .SS Program source
     locale_t loc, nloc;
 \&
     if (argc != 2) {
-        fprintf(stderr, "Usage: %s string\en", argv[0]);
+        fprintf(stderr, "Usage: %s string\[rs]n", argv[0]);
         exit(EXIT_FAILURE);
     }
 \&
@@ -151,7 +151,7 @@ .SS Program source
     for (char *p = argv[1]; *p; p++)
         putchar(toupper_l(*p, nloc));
 \&
-    printf("\en");
+    printf("\[rs]n");
 \&
     freelocale(nloc);
 \&
man/man3/encrypt.3 +7 -7
index 4ec5cd7fd..0963ccf62 100644
@@ -181,25 +181,25 @@ .SH EXAMPLES
         }
         setkey(key);
     }
-    printf("Before encrypting: %s\en", orig);
+    printf("Before encrypting: %s\[rs]n", orig);
 \&
     encrypt(buf, 0);
     for (size_t i = 0; i < 8; i++) {
-        for (size_t j = 0, txt[i] = \[aq]\e0\[aq]; j < 8; j++) {
+        for (size_t j = 0, txt[i] = \[aq]\[rs]0\[aq]; j < 8; j++) {
             txt[i] |= buf[i * 8 + j] << j;
         }
-        txt[8] = \[aq]\e0\[aq];
+        txt[8] = \[aq]\[rs]0\[aq];
     }
-    printf("After encrypting:  %s\en", txt);
+    printf("After encrypting:  %s\[rs]n", txt);
 \&
     encrypt(buf, 1);
     for (size_t i = 0; i < 8; i++) {
-        for (size_t j = 0, txt[i] = \[aq]\e0\[aq]; j < 8; j++) {
+        for (size_t j = 0, txt[i] = \[aq]\[rs]0\[aq]; j < 8; j++) {
             txt[i] |= buf[i * 8 + j] << j;
         }
-        txt[8] = \[aq]\e0\[aq];
+        txt[8] = \[aq]\[rs]0\[aq];
     }
-    printf("After decrypting:  %s\en", txt);
+    printf("After decrypting:  %s\[rs]n", txt);
     exit(EXIT_SUCCESS);
 }
 .EE
man/man3/end.3 +4 -4
index f0c22ff5d..9d57499bb 100644
@@ -80,10 +80,10 @@ .SS Program source
 int
 main(void)
 {
-    printf("First address past:\en");
-    printf("    program text (etext)      %10p\en", &etext);
-    printf("    initialized data (edata)  %10p\en", &edata);
-    printf("    uninitialized data (end)  %10p\en", &end);
+    printf("First address past:\[rs]n");
+    printf("    program text (etext)      %10p\[rs]n", &etext);
+    printf("    initialized data (edata)  %10p\[rs]n", &edata);
+    printf("    uninitialized data (end)  %10p\[rs]n", &end);
 \&
     exit(EXIT_SUCCESS);
 }
man/man3/endian.3 +3 -3
index 6cd85317a..06fb51141 100644
@@ -151,9 +151,9 @@ .SS Program source
     x.arr[2] = 0x33;
     x.arr[3] = 0x44;	/* Highest\-address byte */
 \&
-    printf("x.u32 = %#x\en", x.u32);
-    printf("htole32(x.u32) = %#x\en", htole32(x.u32));
-    printf("htobe32(x.u32) = %#x\en", htobe32(x.u32));
+    printf("x.u32 = %#x\[rs]n", x.u32);
+    printf("htole32(x.u32) = %#x\[rs]n", htole32(x.u32));
+    printf("htobe32(x.u32) = %#x\[rs]n", htobe32(x.u32));
 \&
     exit(EXIT_SUCCESS);
 }
man/man3/envz_add.3 +2 -2
index fd5b77029..2a217fc55 100644
@@ -157,9 +157,9 @@ .SH EXAMPLES
         e_len += strlen(envp[i]) + 1;
 \&
     str = envz_entry(*envp, e_len, "HOME");
-    printf("%s\en", str);
+    printf("%s\[rs]n", str);
     str = envz_get(*envp, e_len, "HOME");
-    printf("%s\en", str);
+    printf("%s\[rs]n", str);
     exit(EXIT_SUCCESS);
 }
 .EE
man/man3/errno.3 +2 -2
index 786dec824..bfe659953 100644
@@ -599,7 +599,7 @@ .SH NOTES
 .in +4n
 .EX
 if (somecall() == \-1) {
-    printf("somecall() failed\en");
+    printf("somecall() failed\[rs]n");
     if (errno == ...) { ... }
 }
 .EE
@@ -619,7 +619,7 @@ .SH NOTES
 .EX
 if (somecall() == \-1) {
     int errsv = errno;
-    printf("somecall() failed\en");
+    printf("somecall() failed\[rs]n");
     if (errsv == ...) { ... }
 }
 .EE
man/man3/fgetc.3 +1 -1
index d92fd8413..57321d042 100644
@@ -58,7 +58,7 @@ .SH DESCRIPTION
 .B EOF
 or a newline.
 If a newline is read, it is stored into the buffer.
-A terminating null byte (\[aq]\e0\[aq])
+A terminating null byte (\[aq]\[rs]0\[aq])
 is stored after the last character in the buffer.
 .P
 .BR ungetc ()
man/man3/fgetws.3 +1 -1
index a41573b6f..afb08ab76 100644
@@ -33,7 +33,7 @@ .SH DESCRIPTION
 function.
 It reads a string of at most \fIn\-1\fP wide characters into the
 wide-character array pointed to by \fIws\fP,
-and adds a terminating null wide character (L\[aq]\e0\[aq]).
+and adds a terminating null wide character (L\[aq]\[rs]0\[aq]).
 It stops reading wide characters after it has encountered and
 stored a newline wide character.
 It also stops when end of stream is reached.
man/man3/fmemopen.3 +4 -4
index 385fcdcc9..0207fbbfd 100644
@@ -59,7 +59,7 @@ .SH DESCRIPTION
 .I w+
 Open the stream for reading and writing.
 The buffer contents are truncated
-(i.e., \[aq]\e0\[aq] is placed in the first byte of the buffer).
+(i.e., \[aq]\[rs]0\[aq] is placed in the first byte of the buffer).
 .TP
 .I a+
 Append; open the stream for reading and writing,
@@ -112,7 +112,7 @@ .SH DESCRIPTION
 to allow for this.
 .P
 In a stream opened for reading,
-null bytes (\[aq]\e0\[aq]) in the buffer do not cause read
+null bytes (\[aq]\[rs]0\[aq]) in the buffer do not cause read
 operations to return an end-of-file indication.
 A read from the buffer will indicate end-of-file
 only when the current buffer position advances
@@ -314,7 +314,7 @@ .SS Program source
     char *ptr;
 \&
     if (argc != 2) {
-        fprintf(stderr, "Usage: %s \[aq]<num>...\[aq]\en", argv[0]);
+        fprintf(stderr, "Usage: %s \[aq]<num>...\[aq]\[rs]n", argv[0]);
         exit(EXIT_FAILURE);
     }
 \&
@@ -339,7 +339,7 @@ .SS Program source
     fclose(in);
     fclose(out);
 \&
-    printf("size=%zu; ptr=%s\en", size, ptr);
+    printf("size=%zu; ptr=%s\[rs]n", size, ptr);
 \&
     free(ptr);
     exit(EXIT_SUCCESS);
man/man3/fmtmsg.3 +4 -4
index 699db65e7..111b8121f 100644
@@ -291,16 +291,16 @@ .SH EXAMPLES
     case MM_OK:
         break;
     case MM_NOTOK:
-        printf("Nothing printed\en");
+        printf("Nothing printed\[rs]n");
         break;
     case MM_NOMSG:
-        printf("Nothing printed to stderr\en");
+        printf("Nothing printed to stderr\[rs]n");
         break;
     case MM_NOCON:
-        printf("No console output\en");
+        printf("No console output\[rs]n");
         break;
     default:
-        printf("Unknown error from fmtmsg()\en");
+        printf("Unknown error from fmtmsg()\[rs]n");
     }
     exit(EXIT_SUCCESS);
 }
man/man3/fopencookie.3 +3 -3
index d1821772c..9c31c9bf1 100644
@@ -433,14 +433,14 @@ .SS Program source
         nread = fread(buf, 1, 2, stream);
         if (nread == 0) {
             if (ferror(stream) != 0) {
-                fprintf(stderr, "fread failed\en");
+                fprintf(stderr, "fread failed\[rs]n");
                 exit(EXIT_FAILURE);
             }
-            printf("Reached end of file\en");
+            printf("Reached end of file\[rs]n");
             break;
         }
 \&
-        printf("/%.*s/\en", (int) nread, buf);
+        printf("/%.*s/\[rs]n", (int) nread, buf);
     }
 \&
     free(mycookie.buf);
man/man3/fputws.3 +1 -1
index e40396d15..54e708b0f 100644
@@ -29,7 +29,7 @@ .SH DESCRIPTION
 .BR fputs (3)
 function.
 It writes the wide-character string starting at \fIws\fP,
-up to but not including the terminating null wide character (L\[aq]\e0\[aq]),
+up to but not including the terminating null wide character (L\[aq]\[rs]0\[aq]),
 to \fIstream\fP.
 .P
 For a nonlocking counterpart, see
man/man3/fread.3 +4 -4
index dc320cd30..9ed4c6a64 100644
@@ -135,20 +135,20 @@ .SS Program source
 \&
     ret = fread(buffer, sizeof(*buffer), ARRAY_SIZE(buffer), fp);
     if (ret != ARRAY_SIZE(buffer)) {
-        fprintf(stderr, "fread() failed: %zu\en", ret);
+        fprintf(stderr, "fread() failed: %zu\[rs]n", ret);
         exit(EXIT_FAILURE);
     }
 \&
-    printf("ELF magic: %#04x%02x%02x%02x\en", buffer[0], buffer[1],
+    printf("ELF magic: %#04x%02x%02x%02x\[rs]n", buffer[0], buffer[1],
            buffer[2], buffer[3]);
 \&
     ret = fread(buffer, 1, 1, fp);
     if (ret != 1) {
-        fprintf(stderr, "fread() failed: %zu\en", ret);
+        fprintf(stderr, "fread() failed: %zu\[rs]n", ret);
         exit(EXIT_FAILURE);
     }
 \&
-    printf("Class: %#04x\en", buffer[0]);
+    printf("Class: %#04x\[rs]n", buffer[0]);
 \&
     fclose(fp);
 \&
man/man3/frexp.3 +1 -1
index 16ece267d..394e0e6e4 100644
@@ -131,7 +131,7 @@ .SS Program source
     x = strtod(argv[1], NULL);
     r = frexp(x, &exp);
 \&
-    printf("frexp(%g, &e) = %g: %g * %d\[ha]%d = %g\en", x, r, r, 2, exp, x);
+    printf("frexp(%g, &e) = %g: %g * %d\[ha]%d = %g\[rs]n", x, r, r, 2, exp, x);
     exit(EXIT_SUCCESS);
 }
 .EE
man/man3/ftw.3 +1 -1
index 655bd38ac..cdeb40127 100644
@@ -469,7 +469,7 @@ .SS Program source
     else
         printf("%7jd", (intmax_t) sb\->st_size);
 \&
-    printf("   %\-40s %d %s\en",
+    printf("   %\-40s %d %s\[rs]n",
            fpath, ftwbuf\->base, fpath + ftwbuf\->base);
 \&
     return 0;           /* To tell nftw() to continue */
man/man3/get_nprocs.3 +1 -1
index 49605f99a..411911efc 100644
@@ -83,7 +83,7 @@ .SH EXAMPLES
 main(void)
 {
     printf("This system has %d processors configured and "
-            "%d processors available.\en",
+            "%d processors available.\[rs]n",
             get_nprocs_conf(), get_nprocs());
     exit(EXIT_SUCCESS);
 }
man/man3/get_phys_pages.3 +1 -1
index a2a627a8c..b0b70577f 100644
@@ -80,7 +80,7 @@ .SH EXAMPLES
 main(void)
 {
     printf("This system has %ld pages of physical memory and "
-            "%ld pages of physical memory available.\en",
+            "%ld pages of physical memory available.\[rs]n",
             get_phys_pages(), get_avphys_pages());
     exit(EXIT_SUCCESS);
 }
man/man3/getaddrinfo.3 +12 -12
index beb643460..d35f97125 100644
@@ -672,7 +672,7 @@ .SS Server program
     struct sockaddr_storage  peer_addr;
 \&
     if (argc != 2) {
-        fprintf(stderr, "Usage: %s port\en", argv[0]);
+        fprintf(stderr, "Usage: %s port\[rs]n", argv[0]);
         exit(EXIT_FAILURE);
     }
 \&
@@ -687,7 +687,7 @@ .SS Server program
 \&
     s = getaddrinfo(NULL, argv[1], &hints, &result);
     if (s != 0) {
-        fprintf(stderr, "getaddrinfo: %s\en", gai_strerror(s));
+        fprintf(stderr, "getaddrinfo: %s\[rs]n", gai_strerror(s));
         exit(EXIT_FAILURE);
     }
 \&
@@ -711,7 +711,7 @@ .SS Server program
     freeaddrinfo(result);           /* No longer needed */
 \&
     if (rp == NULL) {               /* No address succeeded */
-        fprintf(stderr, "Could not bind\en");
+        fprintf(stderr, "Could not bind\[rs]n");
         exit(EXIT_FAILURE);
     }
 \&
@@ -730,15 +730,15 @@ .SS Server program
                         peer_addrlen, host, NI_MAXHOST,
                         service, NI_MAXSERV, NI_NUMERICSERV);
         if (s == 0)
-            printf("Received %zd bytes from %s:%s\en",
+            printf("Received %zd bytes from %s:%s\[rs]n",
                    nread, host, service);
         else
-            fprintf(stderr, "getnameinfo: %s\en", gai_strerror(s));
+            fprintf(stderr, "getnameinfo: %s\[rs]n", gai_strerror(s));
 \&
         if (sendto(sfd, buf, nread, 0, (struct sockaddr *) &peer_addr,
                    peer_addrlen) != nread)
         {
-            fprintf(stderr, "Error sending response\en");
+            fprintf(stderr, "Error sending response\[rs]n");
         }
     }
 }
@@ -769,7 +769,7 @@ .SS Client program
     struct addrinfo  *result, *rp;
 \&
     if (argc < 3) {
-        fprintf(stderr, "Usage: %s host port msg...\en", argv[0]);
+        fprintf(stderr, "Usage: %s host port msg...\[rs]n", argv[0]);
         exit(EXIT_FAILURE);
     }
 \&
@@ -783,7 +783,7 @@ .SS Client program
 \&
     s = getaddrinfo(argv[1], argv[2], &hints, &result);
     if (s != 0) {
-        fprintf(stderr, "getaddrinfo: %s\en", gai_strerror(s));
+        fprintf(stderr, "getaddrinfo: %s\[rs]n", gai_strerror(s));
         exit(EXIT_FAILURE);
     }
 \&
@@ -807,7 +807,7 @@ .SS Client program
     freeaddrinfo(result);           /* No longer needed */
 \&
     if (rp == NULL) {               /* No address succeeded */
-        fprintf(stderr, "Could not connect\en");
+        fprintf(stderr, "Could not connect\[rs]n");
         exit(EXIT_FAILURE);
     }
 \&
@@ -820,12 +820,12 @@ .SS Client program
 \&
         if (len > BUF_SIZE) {
             fprintf(stderr,
-                    "Ignoring long message in argument %zu\en", j);
+                    "Ignoring long message in argument %zu\[rs]n", j);
             continue;
         }
 \&
         if (write(sfd, argv[j], len) != len) {
-            fprintf(stderr, "partial/failed write\en");
+            fprintf(stderr, "partial/failed write\[rs]n");
             exit(EXIT_FAILURE);
         }
 \&
@@ -835,7 +835,7 @@ .SS Client program
             exit(EXIT_FAILURE);
         }
 \&
-        printf("Received %zd bytes: %s\en", nread, buf);
+        printf("Received %zd bytes: %s\[rs]n", nread, buf);
     }
 \&
     exit(EXIT_SUCCESS);
man/man3/getaddrinfo_a.3 +17 -17
index e7792fd76..3ec50a79e 100644
@@ -351,7 +351,7 @@ .SS Synchronous example
     struct addrinfo *res;
 \&
     if (argc < 2) {
-        fprintf(stderr, "Usage: %s HOST...\en", argv[0]);
+        fprintf(stderr, "Usage: %s HOST...\[rs]n", argv[0]);
         exit(EXIT_FAILURE);
     }
 \&
@@ -366,7 +366,7 @@ .SS Synchronous example
 \&
     ret = getaddrinfo_a(GAI_WAIT, reqs, argc \- 1, NULL);
     if (ret != 0) {
-        fprintf(stderr, "getaddrinfo_a() failed: %s\en",
+        fprintf(stderr, "getaddrinfo_a() failed: %s\[rs]n",
                 gai_strerror(ret));
         exit(EXIT_FAILURE);
     }
@@ -381,7 +381,7 @@ .SS Synchronous example
                               host, sizeof(host),
                               NULL, 0, NI_NUMERICHOST);
             if (ret != 0) {
-                fprintf(stderr, "getnameinfo() failed: %s\en",
+                fprintf(stderr, "getnameinfo() failed: %s\[rs]n",
                         gai_strerror(ret));
                 exit(EXIT_FAILURE);
             }
@@ -436,11 +436,11 @@ .SS Asynchronous example
 \&
 #define CALLOC(n, type)  ((type *) calloc(n, sizeof(type)))
 \&
-#define REALLOCF(ptr, n, type)                                          \e
-({                                                                      \e
-    static_assert(__builtin_types_compatible_p(typeof(ptr), type *));   \e
-                                                                        \e
-    (type *) reallocarrayf(ptr, n, sizeof(type));                       \e
+#define REALLOCF(ptr, n, type)                                          \[rs]
+({                                                                      \[rs]
+    static_assert(__builtin_types_compatible_p(typeof(ptr), type *));   \[rs]
+                                                                        \[rs]
+    (type *) reallocarrayf(ptr, n, sizeof(type));                       \[rs]
 })
 \&
 static struct gaicb **reqs = NULL;
@@ -466,7 +466,7 @@ .SS Asynchronous example
     if (fgets(buf, sizeof(buf), stdin) == NULL)
         return NULL;
 \&
-    if (buf[strlen(buf) \- 1] == \[aq]\en\[aq])
+    if (buf[strlen(buf) \- 1] == \[aq]\[rs]n\[aq])
         buf[strlen(buf) \- 1] = 0;
 \&
     return buf;
@@ -498,7 +498,7 @@ .SS Asynchronous example
     ret = getaddrinfo_a(GAI_NOWAIT, &reqs[nreqs_base],
                         nreqs \- nreqs_base, NULL);
     if (ret) {
-        fprintf(stderr, "getaddrinfo_a() failed: %s\en",
+        fprintf(stderr, "getaddrinfo_a() failed: %s\[rs]n",
                 gai_strerror(ret));
         exit(EXIT_FAILURE);
     }
@@ -523,7 +523,7 @@ .SS Asynchronous example
         n = atoi(id);
 \&
         if (n >= nreqs) {
-            printf("Bad request number: %s\en", id);
+            printf("Bad request number: %s\[rs]n", id);
             return;
         }
 \&
@@ -532,7 +532,7 @@ .SS Asynchronous example
 \&
     ret = gai_suspend(wait_reqs, nreqs, NULL);
     if (ret) {
-        printf("gai_suspend(): %s\en", gai_strerror(ret));
+        printf("gai_suspend(): %s\[rs]n", gai_strerror(ret));
         return;
     }
 \&
@@ -544,7 +544,7 @@ .SS Asynchronous example
         if (ret == EAI_INPROGRESS)
             continue;
 \&
-        printf("[%02zu] %s: %s\en", i, reqs[i]\->ar_name,
+        printf("[%02zu] %s: %s\[rs]n", i, reqs[i]\->ar_name,
                ret == 0 ? "Finished" : gai_strerror(ret));
     }
 }
@@ -561,12 +561,12 @@ .SS Asynchronous example
         n = atoi(id);
 \&
         if (n >= nreqs) {
-            printf("Bad request number: %s\en", id);
+            printf("Bad request number: %s\[rs]n", id);
             return;
         }
 \&
         ret = gai_cancel(reqs[n]);
-        printf("[%s] %s: %s\en", id, reqs[atoi(id)]\->ar_name,
+        printf("[%s] %s: %s\[rs]n", id, reqs[atoi(id)]\->ar_name,
                gai_strerror(ret));
     }
 }
@@ -590,7 +590,7 @@ .SS Asynchronous example
                               host, sizeof(host),
                               NULL, 0, NI_NUMERICHOST);
             if (ret) {
-                fprintf(stderr, "getnameinfo() failed: %s\en",
+                fprintf(stderr, "getnameinfo() failed: %s\[rs]n",
                         gai_strerror(ret));
                 exit(EXIT_FAILURE);
             }
@@ -627,7 +627,7 @@ .SS Asynchronous example
                 list_requests();
                 break;
             default:
-                fprintf(stderr, "Bad command: %c\en", cmd[0]);
+                fprintf(stderr, "Bad command: %c\[rs]n", cmd[0]);
                 break;
             }
         }
man/man3/getdate.3 +11 -11
index 74e4a086e..57ad74d99 100644
@@ -293,21 +293,21 @@ .SS Program source
         tmp = getdate(argv[j]);
 \&
         if (tmp == NULL) {
-            printf("Call %zu failed; getdate_err = %d\en",
+            printf("Call %zu failed; getdate_err = %d\[rs]n",
                    j, getdate_err);
             continue;
         }
 \&
-        printf("Call %zu (\e"%s\e") succeeded:\en", j, argv[j]);
-        printf("    tm_sec   = %d\en", tmp\->tm_sec);
-        printf("    tm_min   = %d\en", tmp\->tm_min);
-        printf("    tm_hour  = %d\en", tmp\->tm_hour);
-        printf("    tm_mday  = %d\en", tmp\->tm_mday);
-        printf("    tm_mon   = %d\en", tmp\->tm_mon);
-        printf("    tm_year  = %d\en", tmp\->tm_year);
-        printf("    tm_wday  = %d\en", tmp\->tm_wday);
-        printf("    tm_yday  = %d\en", tmp\->tm_yday);
-        printf("    tm_isdst = %d\en", tmp\->tm_isdst);
+        printf("Call %zu (\[rs]"%s\[rs]") succeeded:\[rs]n", j, argv[j]);
+        printf("    tm_sec   = %d\[rs]n", tmp\->tm_sec);
+        printf("    tm_min   = %d\[rs]n", tmp\->tm_min);
+        printf("    tm_hour  = %d\[rs]n", tmp\->tm_hour);
+        printf("    tm_mday  = %d\[rs]n", tmp\->tm_mday);
+        printf("    tm_mon   = %d\[rs]n", tmp\->tm_mon);
+        printf("    tm_year  = %d\[rs]n", tmp\->tm_year);
+        printf("    tm_wday  = %d\[rs]n", tmp\->tm_wday);
+        printf("    tm_yday  = %d\[rs]n", tmp\->tm_yday);
+        printf("    tm_isdst = %d\[rs]n", tmp\->tm_isdst);
     }
 \&
     exit(EXIT_SUCCESS);
man/man3/getgrent_r.3 +1 -1
index 6c3018787..688f81689 100644
@@ -203,7 +203,7 @@ .SH EXAMPLES
                 break;
             printf(" %s", grpp\->gr_mem[j]);
         }
-        printf("\en");
+        printf("\[rs]n");
     }
     endgrent();
     exit(EXIT_SUCCESS);
man/man3/getgrouplist.3 +5 -5
index 61d3b7a9b..d8c761019 100644
@@ -149,7 +149,7 @@ .SS Program source
     struct passwd  *pw;
 \&
     if (argc != 3) {
-        fprintf(stderr, "Usage: %s <user> <ngroups>\en", argv[0]);
+        fprintf(stderr, "Usage: %s <user> <ngroups>\[rs]n", argv[0]);
         exit(EXIT_FAILURE);
     }
 \&
@@ -169,27 +169,27 @@ .SS Program source
         if (errno)
             perror("getpwnam");
         else
-            fprintf(stderr, "no such user\en");
+            fprintf(stderr, "no such user\[rs]n");
         exit(EXIT_FAILURE);
     }
 \&
     /* Retrieve group list. */
 \&
     if (getgrouplist(argv[1], pw\->pw_gid, groups, &ngroups) == \-1) {
-        fprintf(stderr, "getgrouplist() returned \-1; ngroups = %d\en",
+        fprintf(stderr, "getgrouplist() returned \-1; ngroups = %d\[rs]n",
                 ngroups);
         exit(EXIT_FAILURE);
     }
 \&
     /* Display list of retrieved groups, along with group names. */
 \&
-    fprintf(stderr, "ngroups = %d\en", ngroups);
+    fprintf(stderr, "ngroups = %d\[rs]n", ngroups);
     for (int j = 0; j < ngroups; j++) {
         printf("%d", groups[j]);
         gr = getgrgid(groups[j]);
         if (gr != NULL)
             printf(" (%s)", gr\->gr_name);
-        printf("\en");
+        printf("\[rs]n");
     }
 \&
     exit(EXIT_SUCCESS);
man/man3/getifaddrs.3 +5 -5
index 3ecaf71c0..8a13821e6 100644
@@ -269,7 +269,7 @@ .SS Program source
         /* Display interface name and family (including symbolic
            form of the latter for the common families). */
 \&
-        printf("%\-8s %s (%d)\en",
+        printf("%\-8s %s (%d)\[rs]n",
                ifa\->ifa_name,
                (family == AF_PACKET) ? "AF_PACKET" :
                (family == AF_INET) ? "AF_INET" :
@@ -285,17 +285,17 @@ .SS Program source
                     host, NI_MAXHOST,
                     NULL, 0, NI_NUMERICHOST);
             if (s != 0) {
-                printf("getnameinfo() failed: %s\en", gai_strerror(s));
+                printf("getnameinfo() failed: %s\[rs]n", gai_strerror(s));
                 exit(EXIT_FAILURE);
             }
 \&
-            printf("\et\etaddress: <%s>\en", host);
+            printf("\[rs]t\[rs]taddress: <%s>\[rs]n", host);
 \&
         } else if (family == AF_PACKET && ifa\->ifa_data != NULL) {
             struct rtnl_link_stats *stats = ifa\->ifa_data;
 \&
-            printf("\et\ettx_packets = %10u; rx_packets = %10u\en"
-                   "\et\ettx_bytes   = %10u; rx_bytes   = %10u\en",
+            printf("\[rs]t\[rs]ttx_packets = %10u; rx_packets = %10u\[rs]n"
+                   "\[rs]t\[rs]ttx_bytes   = %10u; rx_bytes   = %10u\[rs]n",
                    stats\->tx_packets, stats\->rx_packets,
                    stats\->tx_bytes, stats\->rx_bytes);
         }
man/man3/getline.3 +3 -3
index e9afc06eb..c9b018560 100644
@@ -91,7 +91,7 @@ .SH RETURN VALUE
 and
 .BR getdelim ()
 return the number of characters read, including the delimiter character,
-but not including the terminating null byte (\[aq]\e0\[aq]).
+but not including the terminating null byte (\[aq]\[rs]0\[aq]).
 This value can be used
 to handle embedded null bytes in the line read.
 .P
@@ -153,7 +153,7 @@ .SH EXAMPLES
     ssize_t nread;
 \&
     if (argc != 2) {
-        fprintf(stderr, "Usage: %s <file>\en", argv[0]);
+        fprintf(stderr, "Usage: %s <file>\[rs]n", argv[0]);
         exit(EXIT_FAILURE);
     }
 \&
@@ -164,7 +164,7 @@ .SH EXAMPLES
     }
 \&
     while ((nread = getline(&line, &len, stream)) != \-1) {
-        printf("Retrieved line of length %zd:\en", nread);
+        printf("Retrieved line of length %zd:\[rs]n", nread);
         fwrite(line, nread, 1, stdout);
     }
 \&
man/man3/getlogin.3 +1 -1
index f27dfb2d6..da8d04df6 100644
@@ -108,7 +108,7 @@ .SH ERRORS
 .TP
 .B ERANGE
 (getlogin_r)
-The length of the username, including the terminating null byte (\[aq]\e0\[aq]),
+The length of the username, including the terminating null byte (\[aq]\[rs]0\[aq]),
 is larger than
 .IR bufsize .
 .P
man/man3/getmntent.3 +3 -3
index 4f22658ef..3b6d8bc8a 100644
@@ -157,8 +157,8 @@ .SH DESCRIPTION
 .in
 .P
 Since fields in the mtab and fstab files are separated by whitespace,
-octal escapes are used to represent the characters space (\e040),
-tab (\e011), newline (\e012), and backslash (\e\e) in those files
+octal escapes are used to represent the characters space (\[rs]040),
+tab (\[rs]011), newline (\[rs]012), and backslash (\[rs]\[rs]) in those files
 when they occur in one of the four strings in a
 .I mntent
 structure.
@@ -168,7 +168,7 @@ .SH DESCRIPTION
 .BR getmntent ()
 will convert
 from string representation to escaped representation and back.
-When converting from escaped representation, the sequence \e134 is
+When converting from escaped representation, the sequence \[rs]134 is
 also converted to a backslash.
 .SH RETURN VALUE
 The
man/man3/getnameinfo.3 +2 -2
index 16c202fc4..b800f315d 100644
@@ -285,7 +285,7 @@ .SH EXAMPLES
 \&
 if (getnameinfo(addr, addrlen, hbuf, sizeof(hbuf), sbuf,
             sizeof(sbuf), NI_NUMERICHOST | NI_NUMERICSERV) == 0)
-    printf("host=%s, serv=%s\en", hbuf, sbuf);
+    printf("host=%s, serv=%s\[rs]n", hbuf, sbuf);
 .EE
 .in
 .P
@@ -302,7 +302,7 @@ .SH EXAMPLES
             NULL, 0, NI_NAMEREQD))
     printf("could not resolve hostname");
 else
-    printf("host=%s\en", hbuf);
+    printf("host=%s\[rs]n", hbuf);
 .EE
 .in
 .P
man/man3/getopt.3 +13 -13
index 02d0ea141..7963d910e 100644
@@ -463,21 +463,21 @@ .SS getopt()
             tfnd = 1;
             break;
         default: /* \[aq]?\[aq] */
-            fprintf(stderr, "Usage: %s [\-t nsecs] [\-n] name\en",
+            fprintf(stderr, "Usage: %s [\-t nsecs] [\-n] name\[rs]n",
                     argv[0]);
             exit(EXIT_FAILURE);
         }
     }
 \&
-    printf("flags=%d; tfnd=%d; nsecs=%d; optind=%d\en",
+    printf("flags=%d; tfnd=%d; nsecs=%d; optind=%d\[rs]n",
            flags, tfnd, nsecs, optind);
 \&
     if (optind >= argc) {
-        fprintf(stderr, "Expected argument after options\en");
+        fprintf(stderr, "Expected argument after options\[rs]n");
         exit(EXIT_FAILURE);
     }
 \&
-    printf("name argument = %s\en", argv[optind]);
+    printf("name argument = %s\[rs]n", argv[optind]);
 \&
     /* Other code omitted */
 \&
@@ -525,39 +525,39 @@ .SS getopt_long()
             printf("option %s", long_options[option_index].name);
             if (optarg)
                 printf(" with arg %s", optarg);
-            printf("\en");
+            printf("\[rs]n");
             break;
 \&
         case \[aq]0\[aq]:
         case \[aq]1\[aq]:
         case \[aq]2\[aq]:
             if (digit_optind != 0 && digit_optind != this_option_optind)
-              printf("digits occur in two different argv\-elements.\en");
+              printf("digits occur in two different argv\-elements.\[rs]n");
             digit_optind = this_option_optind;
-            printf("option %c\en", c);
+            printf("option %c\[rs]n", c);
             break;
 \&
         case \[aq]a\[aq]:
-            printf("option a\en");
+            printf("option a\[rs]n");
             break;
 \&
         case \[aq]b\[aq]:
-            printf("option b\en");
+            printf("option b\[rs]n");
             break;
 \&
         case \[aq]c\[aq]:
-            printf("option c with value \[aq]%s\[aq]\en", optarg);
+            printf("option c with value \[aq]%s\[aq]\[rs]n", optarg);
             break;
 \&
[… more lines in the raw message]

Lines of this file are not shown. View the raw message.

man/man3/getpass.3 +2 -2
index 979da4949..9abf657e2 100644

Lines of this file are not shown. View the raw message.

man/man3/getprotoent_r.3 +7 -7
index 846eec936..b4251929b 100644

Lines of this file are not shown. View the raw message.

man/man3/getpwent_r.3 +1 -1
index 5433e6ae6..8ce8525c1 100644

Lines of this file are not shown. View the raw message.

man/man3/getpwnam.3 +3 -3
index 7974fd229..3393a66ec 100644

Lines of this file are not shown. View the raw message.

man/man3/gets.3 +1 -1
index 8ffffaaa6..ee7cdfdf0 100644

Lines of this file are not shown. View the raw message.

man/man3/getservent_r.3 +7 -7
index 50952d87d..020b57830 100644

Lines of this file are not shown. View the raw message.

man/man3/getsubopt.3 +7 -7
index e5da55405..74d0f98b2 100644

Lines of this file are not shown. View the raw message.

man/man3/glob.3 +1 -1
index 130a6ce60..214836a91 100644

Lines of this file are not shown. View the raw message.

man/man3/gnu_get_libc_version.3 +2 -2
index d08ecc4b9..a50f108d4 100644

Lines of this file are not shown. View the raw message.

man/man3/hsearch.3 +2 -2
index 1234228c0..91f184a88 100644

Lines of this file are not shown. View the raw message.

man/man3/if_nameindex.3 +1 -1
index 32afb1763..38f0f3a62 100644

Lines of this file are not shown. View the raw message.

man/man3/inet.3 +3 -3
index 9e292f08a..f72245b4e 100644

Lines of this file are not shown. View the raw message.

man/man3/inet_net_pton.3 +5 -5
index c66ee8257..d0421bc67 100644

Lines of this file are not shown. View the raw message.

man/man3/inet_pton.3 +2 -2
index b92046e40..10cce5561 100644

Lines of this file are not shown. View the raw message.

man/man3/insque.3 +5 -5
index fedbbc214..8fb0e4db2 100644

Lines of this file are not shown. View the raw message.

man/man3/isalpha.3 +5 -5
index 05d373780..6e113203b 100644

Lines of this file are not shown. View the raw message.

man/man3/iswblank.3 +1 -1
index 79c89ba59..58361f139 100644

Lines of this file are not shown. View the raw message.

man/man3/iswspace.3 +1 -1
index c89517b15..bb53c9aa7 100644

Lines of this file are not shown. View the raw message.

man/man3/list.3 +1 -1
index 6f33dbf99..d869f62b8 100644

Lines of this file are not shown. View the raw message.

man/man3/makecontext.3 +9 -9
index 4ee3cc2c4..25bfd6e6d 100644

Lines of this file are not shown. View the raw message.

man/man3/mallinfo.3 +15 -15
index 20ac7f896..3e1ac26cd 100644

Lines of this file are not shown. View the raw message.

man/man3/malloc_hook.3 +1 -1
index bddcdf3e2..0ed73e3bb 100644

Lines of this file are not shown. View the raw message.

man/man3/malloc_info.3 +3 -3
index 0aa55ba67..b293f4e3d 100644

Lines of this file are not shown. View the raw message.

man/man3/mallopt.3 +2 -2
index 822487251..b09871aa2 100644

Lines of this file are not shown. View the raw message.

man/man3/matherr.3 +5 -5
index 66b2f0fe8..36a5d4e60 100644

Lines of this file are not shown. View the raw message.

man/man3/mbrtowc.3 +4 -4
index 26d29b255..3c1fc99ad 100644

Lines of this file are not shown. View the raw message.

man/man3/mbsnrtowcs.3 +2 -2
index a8447e594..12d00b2ff 100644

Lines of this file are not shown. View the raw message.

man/man3/mbsrtowcs.3 +2 -2
index f061672b7..1328ce69a 100644

Lines of this file are not shown. View the raw message.

man/man3/mbstowcs.3 +9 -9
index f08ce3258..fc945166d 100644

Lines of this file are not shown. View the raw message.

man/man3/mbtowc.3 +1 -1
index 08739facb..9cd05db1e 100644

Lines of this file are not shown. View the raw message.

man/man3/mcheck.3 +3 -3
index 4b2920c19..81397c181 100644

Lines of this file are not shown. View the raw message.

man/man3/mq_getattr.3 +4 -4
index 3d11c308c..63ea6e458 100644

Lines of this file are not shown. View the raw message.

man/man3/mq_notify.3 +3 -3
index 653e401c9..c32356da4 100644

Lines of this file are not shown. View the raw message.

man/man3/newlocale.3 +4 -4
index e6b29f875..23ce11475 100644

Lines of this file are not shown. View the raw message.

man/man3/nl_langinfo.3 +2 -2
index 24cdfe88e..49608368c 100644

Lines of this file are not shown. View the raw message.

man/man3/offsetof.3 +2 -2
index 7eea85c10..ec20a5ede 100644

Lines of this file are not shown. View the raw message.

man/man3/perror.3 +1 -1
index 87a2520f1..1066bb92c 100644

Lines of this file are not shown. View the raw message.

man/man3/posix_spawn.3 +8 -8
index 7eb96429f..6937b4dc8 100644

Lines of this file are not shown. View the raw message.

man/man3/printf.3 +7 -7
index 15ed75439..54a0339ec 100644

Lines of this file are not shown. View the raw message.

man/man3/pthread_attr_init.3 +11 -11
index dfd5ac67f..34b7f5070 100644

Lines of this file are not shown. View the raw message.

man/man3/pthread_cancel.3 +7 -7
index 3fef2f1c5..df059f43a 100644

Lines of this file are not shown. View the raw message.

man/man3/pthread_cleanup_push.3 +7 -7
index 7026929a8..a9427f6ef 100644

Lines of this file are not shown. View the raw message.

man/man3/pthread_create.3 +6 -6
index 793939b7f..76b7ac8a6 100644

Lines of this file are not shown. View the raw message.

man/man3/pthread_getattr_default_np.3 +6 -6
index 97f734eb9..7a796320d 100644

Lines of this file are not shown. View the raw message.

man/man3/pthread_getattr_np.3 +13 -13
index 2c9d7c196..de171fddc 100644

Lines of this file are not shown. View the raw message.

man/man3/pthread_getcpuclockid.3 +6 -6
index e352dfbce..e07413fdb 100644

Lines of this file are not shown. View the raw message.

man/man3/pthread_mutexattr_setrobust.3 +9 -9
index 921d9e9c0..6f03864a4 100644

Lines of this file are not shown. View the raw message.

man/man3/pthread_setaffinity_np.3 +2 -2
index 4e7147321..49e32cf62 100644

Lines of this file are not shown. View the raw message.

man/man3/pthread_setname_np.3 +4 -4
index 587dd3e8c..331985f6e 100644

Lines of this file are not shown. View the raw message.

man/man3/pthread_setschedparam.3 +26 -26

52 lines not on this page · raw message

man/man3/pthread_sigmask.3 +2 -2
index 8d859d760..4a199b7c9 100644

Lines of this file are not shown. View the raw message.

man/man3/puts.3 +1 -1
index 19241af90..6504098e6 100644

Lines of this file are not shown. View the raw message.

man/man3/qsort.3 +1 -1
index 16e8b1b65..8a5bab612 100644

Lines of this file are not shown. View the raw message.

man/man3/rand.3 +3 -3
index 9f63ee9a1..6ac577e8e 100644

Lines of this file are not shown. View the raw message.

man/man3/readdir.3 +1 -1
index 731e25c85..41cc00b52 100644

Lines of this file are not shown. View the raw message.

man/man3/recno.3 +1 -1
index fa666f585..3d6f66ee7 100644

Lines of this file are not shown. View the raw message.

man/man3/regex.3 +6 -6
index a4e89c100..6ac2493fe 100644

Lines of this file are not shown. View the raw message.

man/man3/rpmatch.3 +2 -2
index fd285cc64..5ef3ca5f9 100644

Lines of this file are not shown. View the raw message.

man/man3/rtime.3 +1 -1
index cac162ed2..171812e7c 100644

Lines of this file are not shown. View the raw message.

man/man3/scandir.3 +1 -1
index 8ec405e3a..e60b7a25f 100644

Lines of this file are not shown. View the raw message.

man/man3/scanf.3 +1 -1
index be335a597..d22f9ba1a 100644

Lines of this file are not shown. View the raw message.

man/man3/sem_wait.3 +7 -7
index 8d31e2f2a..ab2dee21f 100644

Lines of this file are not shown. View the raw message.

man/man3/setaliasent.3 +1 -1
index 24d162751..c66372cd3 100644

Lines of this file are not shown. View the raw message.

man/man3/setbuf.3 +1 -1
index 8604d4754..be5f63357 100644

Lines of this file are not shown. View the raw message.

man/man3/shm_open.3 +5 -5
index a907df906..fda155711 100644

Lines of this file are not shown. View the raw message.

man/man3/slist.3 +1 -1
index 02745286b..3240c40b6 100644

Lines of this file are not shown. View the raw message.

man/man3/sscanf.3 +4 -4
index d488cd861..df18cb92d 100644

Lines of this file are not shown. View the raw message.

man/man3/stailq.3 +1 -1
index eca802cbd..9f827e630 100644

Lines of this file are not shown. View the raw message.

man/man3/static_assert.3 +10 -10
index 04b24a95a..fef9c3058 100644

Lines of this file are not shown. View the raw message.

man/man3/stdarg.3 +3 -3
index 4168487d0..1b8bac5c0 100644

Lines of this file are not shown. View the raw message.

man/man3/stpncpy.3 +2 -2
index 9544682fc..534dea6de 100644

Lines of this file are not shown. View the raw message.

man/man3/strchr.3 +1 -1
index 55f6add88..d7423bb41 100644

Lines of this file are not shown. View the raw message.

man/man3/strcmp.3 +7 -7
index 3e910d97b..ec1032c19 100644

Lines of this file are not shown. View the raw message.

man/man3/strcpy.3 +1 -1
index 1cfde931b..51eb55d7b 100644

Lines of this file are not shown. View the raw message.

man/man3/strdup.3 +1 -1
index 3e338b4f9..cb3c17455 100644

Lines of this file are not shown. View the raw message.

man/man3/strerror.3 +1 -1
index 8dc65dc67..ef73872bf 100644

Lines of this file are not shown. View the raw message.

man/man3/strfromd.3 +1 -1
index dbcb8e78a..eff33acd6 100644

Lines of this file are not shown. View the raw message.

man/man3/strftime.3 +1 -1
index 13121963f..0217f2081 100644

Lines of this file are not shown. View the raw message.

man/man3/strlen.3 +1 -1
index 6d759bd78..0187481a9 100644

Lines of this file are not shown. View the raw message.

man/man3/strncat.3 +1 -1
index a1e736e93..2c7a62f34 100644

Lines of this file are not shown. View the raw message.

man/man3/strnlen.3 +2 -2
index 098d44ba6..6f8f0adf6 100644

Lines of this file are not shown. View the raw message.

man/man3/strsep.3 +4 -4
index baef0facd..1159c19e3 100644

Lines of this file are not shown. View the raw message.

man/man3/strstr.3 +1 -1
index d6a066631..d727fb2b0 100644

Lines of this file are not shown. View the raw message.

man/man3/strtok.3 +4 -4
index 34a90198c..6cbb56d18 100644

Lines of this file are not shown. View the raw message.

man/man3/strtol.3 +7 -7
index c05eac0ec..f98afb140 100644

Lines of this file are not shown. View the raw message.

man/man3/strtoul.3 +2 -2
index 09b1a7cac..6ac606ecb 100644

Lines of this file are not shown. View the raw message.

man/man3/strverscmp.3 +2 -2
index b4cf52414..819eb4ca3 100644

Lines of this file are not shown. View the raw message.

man/man3/strxfrm.3 +1 -1
index ccc994b42..af8f934ec 100644

Lines of this file are not shown. View the raw message.

man/man3/sysconf.3 +1 -1
index 1010caa8c..07da47ea4 100644

Lines of this file are not shown. View the raw message.

man/man3/tailq.3 +1 -1
index ced7b5408..5ac1c58b7 100644

Lines of this file are not shown. View the raw message.

man/man3/termios.3 +11 -11
index 78731d21e..877f7bbf8 100644

Lines of this file are not shown. View the raw message.

man/man3/tsearch.3 +3 -3
index 68e4e04f8..d9ef2a7fe 100644

Lines of this file are not shown. View the raw message.

man/man3/wcpcpy.3 +1 -1
index aa20c097a..b100090ba 100644

Lines of this file are not shown. View the raw message.

man/man3/wcpncpy.3 +3 -3
index 9b7ae8ca1..412fafef4 100644

Lines of this file are not shown. View the raw message.

man/man3/wcrtomb.3 +4 -4
index d7673312f..6c3a88508 100644

Lines of this file are not shown. View the raw message.

man/man3/wcscat.3 +1 -1
index 1cdf97f9f..46b5a110f 100644

Lines of this file are not shown. View the raw message.

man/man3/wcscpy.3 +1 -1
index 83573fb1b..c1a71c431 100644

Lines of this file are not shown. View the raw message.

man/man3/wcslen.3 +1 -1
index ee30e6b42..7594ef542 100644

Lines of this file are not shown. View the raw message.

man/man3/wcsncat.3 +1 -1
index 9b4fe52e6..a0020d558 100644

Lines of this file are not shown. View the raw message.

man/man3/wcsncmp.3 +1 -1
index 4792e8285..dedd744e8 100644

Lines of this file are not shown. View the raw message.

man/man3/wcsncpy.3 +1 -1
index a42f17270..c51476e40 100644

Lines of this file are not shown. View the raw message.

man/man3/wcsnlen.3 +1 -1
index cd7dd6642..717836dc9 100644

Lines of this file are not shown. View the raw message.

man/man3/wcsnrtombs.3 +2 -2
index 229cf59a3..96ff7d522 100644

Lines of this file are not shown. View the raw message.

man/man3/wcsrtombs.3 +2 -2
index 28067cbed..1f8a5d598 100644

Lines of this file are not shown. View the raw message.

man/man3/wcsstr.3 +1 -1
index d9bde3669..03af2524e 100644

Lines of this file are not shown. View the raw message.

man/man3/wcstok.3 +3 -3
index 2e5f82460..c5fba9922 100644

Lines of this file are not shown. View the raw message.

man/man3/wcstombs.3 +2 -2
index 403dacb3e..081e322c8 100644

Lines of this file are not shown. View the raw message.

man/man3/wcwidth.3 +1 -1
index 65e9ced73..dfdebd842 100644

Lines of this file are not shown. View the raw message.

man/man3/wordexp.3 +1 -1
index 94a2a393b..a189b140d 100644

Lines of this file are not shown. View the raw message.

man/man3/wprintf.3 +3 -3
index d8ebe47fa..9a30fcddb 100644

Lines of this file are not shown. View the raw message.

man/man3const/EXIT_SUCCESS.3const +1 -1
index 02b89be2f..e8dcb0330 100644

Lines of this file are not shown. View the raw message.

man/man3const/NULL.3const +1 -1
index 3aea0feca..44889df95 100644

Lines of this file are not shown. View the raw message.

man/man3head/printf.h.3head +52 -52

104 lines not on this page · raw message

man/man4/console_codes.4 +6 -6
index 5d4af9cf9..dfbb672ec 100644

Lines of this file are not shown. View the raw message.

man/man4/dsp56k.4 +1 -1
index 62b53700d..0d091a8a0 100644

Lines of this file are not shown. View the raw message.

man/man4/full.4 +1 -1
index 92c440bc6..79e10c562 100644

Lines of this file are not shown. View the raw message.

man/man4/initrd.4 +1 -1
index 6c63d6b13..90681a5ed 100644

Lines of this file are not shown. View the raw message.

man/man4/loop.4 +3 -3
index 253784a34..b01013641 100644

Lines of this file are not shown. View the raw message.

man/man4/null.4 +1 -1
index b31c96ec5..b02d88aa8 100644

Lines of this file are not shown. View the raw message.

man/man4/vcs.4 +1 -1
index fe159f093..9f836c563 100644

Lines of this file are not shown. View the raw message.

man/man5/charmap.5 +1 -1
index 40a9ad673..468f92817 100644

Lines of this file are not shown. View the raw message.

man/man5/core.5 +6 -6
index 2fb7979da..7f074ea14 100644

Lines of this file are not shown. View the raw message.

man/man5/dir_colors.5 +17 -17
index 8115244de..3d2b7c894 100644

Lines of this file are not shown. View the raw message.

man/man5/elf.5 +1 -1
index 57136159c..cd27ea4ac 100644

Lines of this file are not shown. View the raw message.

man/man5/issue.5 +1 -1
index 13d2b83b3..24403fb3f 100644

Lines of this file are not shown. View the raw message.

man/man5/locale.5 +1 -1
index 39c93c88b..35d70d6fe 100644

Lines of this file are not shown. View the raw message.

man/man5/proc.5 +2 -2
index d3bc28ff0..44ae2ddfd 100644

Lines of this file are not shown. View the raw message.

man/man5/proc_pid_cmdline.5 +1 -1
index 047cacd62..6b98e5322 100644

Lines of this file are not shown. View the raw message.

man/man5/proc_pid_environ.5 +2 -2
index 0ff8d4829..e3f4ef850 100644

Lines of this file are not shown. View the raw message.

man/man5/proc_pid_maps.5 +1 -1
index 36efa5702..1e3fcecdc 100644

Lines of this file are not shown. View the raw message.

man/man5/proc_sys.5 +2 -2
index 4a2965842..7c66501eb 100644

Lines of this file are not shown. View the raw message.

man/man5/repertoiremap.5 +1 -1
index 71c8a26a9..0982fc809 100644

Lines of this file are not shown. View the raw message.

man/man5/sysfs.5 +1 -1
index b118bb650..53db111a7 100644

Lines of this file are not shown. View the raw message.

man/man5/termcap.5 +10 -10
index 3f49c43ac..781f11d88 100644

Lines of this file are not shown. View the raw message.

man/man5/utmp.5 +1 -1
index 62febabef..2d3255721 100644

Lines of this file are not shown. View the raw message.

man/man7/aio.7 +15 -15
index 513fbbb73..eca1ae3fa 100644

Lines of this file are not shown. View the raw message.

man/man7/ascii.7 +12 -12
index ab95c4749..074264776 100644

Lines of this file are not shown. View the raw message.

man/man7/cgroups.7 +1 -1
index 877aae03f..cfa60e067 100644

Lines of this file are not shown. View the raw message.

man/man7/charsets.7 +1 -1
index 8fa803b5f..603d3ac7b 100644

Lines of this file are not shown. View the raw message.

man/man7/complex.7 +1 -1
index fa8cb2631..840e78ad3 100644

Lines of this file are not shown. View the raw message.

man/man7/cpuset.7 +1 -1
index 7ae130ebb..8437386e9 100644

Lines of this file are not shown. View the raw message.

man/man7/environ.7 +1 -1
index f98359a3f..6b4a8bb60 100644

Lines of this file are not shown. View the raw message.

man/man7/fanotify.7 +20 -20
index 07e445546..373354301 100644

Lines of this file are not shown. View the raw message.

man/man7/feature_test_macros.7 +17 -17
index e705445a1..5dbc3c2fc 100644

Lines of this file are not shown. View the raw message.

man/man7/glob.7 +2 -2
index 6217b2c3e..82766f69d 100644

Lines of this file are not shown. View the raw message.

man/man7/inode.7 +1 -1
index 45bf71467..497e30e8a 100644

Lines of this file are not shown. View the raw message.

man/man7/inotify.7 +9 -9
index bd3972f80..8ce99a6d1 100644

Lines of this file are not shown. View the raw message.

man/man7/locale.7 +1 -1
index 5a418ae13..8bee8ca3c 100644

Lines of this file are not shown. View the raw message.

man/man7/man-pages.7 +9 -9
index 007b9e7a2..dc117662f 100644

Lines of this file are not shown. View the raw message.

man/man7/mount_namespaces.7 +6 -6
index 1f0a1b41f..75ccfc80d 100644

Lines of this file are not shown. View the raw message.

man/man7/packet.7 +1 -1
index 513945eff..2763275f7 100644

Lines of this file are not shown. View the raw message.

man/man7/pkeys.7 +3 -3
index 4fb814c99..843c139aa 100644

Lines of this file are not shown. View the raw message.

man/man7/pthreads.7 +2 -2
index 81d0db0e1..bd4ea1c39 100644

Lines of this file are not shown. View the raw message.

man/man7/regex.7 +10 -10
index a579dbe62..c1e196688 100644

Lines of this file are not shown. View the raw message.

man/man7/rtld-audit.7 +11 -11
index 0aab7ca18..db3084128 100644

Lines of this file are not shown. View the raw message.

man/man7/sock_diag.7 +8 -8
index 962c3edf3..33fb2702f 100644

Lines of this file are not shown. View the raw message.

man/man7/system_data_types.7 +3 -3
index 59180cff2..bf243da8f 100644

Lines of this file are not shown. View the raw message.

man/man7/unix.7 +4 -4
index 433ac02f4..f291508bf 100644

Lines of this file are not shown. View the raw message.

man/man7/user_namespaces.7 +34 -34

68 lines not on this page · raw message

man/man7/utf-8.7 +4 -4
index d6f539ab2..ff44d7704 100644

Lines of this file are not shown. View the raw message.

man/man8/zdump.8 +4 -4
index c3f0bba60..053bff8c2 100644

Lines of this file are not shown. View the raw message.

man/man8/zic.8 +3 -3
index 0ad373a2d..1a06050f2 100644

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

base-commit: 6fc32a0a6ae2cedf2e954b8b48cf8ba0d5ddf2a1

Signature · 1 line
2.45.1

Part of the diff is not shown here. View the raw message.

author maintainer
#1 lore raw

Hi Branden!

Quoted 7 lines · Alejandro Colomar

---
Range-diff against v0:
-: --------- > 1: 1fc1669e9 man/: Use \[rs] instead of \e

[...]

Quoted 1 line
 man/man7/man-pages.7                          |  18 +--

[...]

Quoted 2 lines
 284 files changed, 1173 insertions(+), 1173 deletions(-)

[...]

man/man7/man-pages.7

Quoted 4 lines
man/man7/man-pages.7 +0 -0
index 007b9e7a2..dc117662f 100644

The cases in man-pages(7) are a bit special, since they are mostly examples of man(7) source code. Would you recommend using \e or \[rs] there?

Thanks,
and have a lovely day!

Alex

Quoted 77 lines
man/man7/man-pages.7 +9 -9
@@ -184,7 +184,7 @@ .SS Sections within a manual page
 for important details of the line(s) that should follow the
 \fB.SH NAME\fP command.
 All words in this line (including the word immediately
-following the "\e\-") should be in lowercase,
+following the "\[rs]\-") should be in lowercase,
 except where English or technical terminological convention
 dictates otherwise.
 .TP
@@ -464,7 +464,7 @@ .SS Sections within a manual page
 (don't hyphenate)
 directives.
 Hyphenation of individual page names can be prevented
-by preceding words with the string "\e%".
+by preceding words with the string "\[rs]%".
 .IP
 Given the distributed, autonomous nature of FOSS projects
 and their documentation, it is sometimes necessary\[em]and in many cases
@@ -611,7 +611,7 @@ .SS Formatting conventions for manual pages describing functions
     .BR fcntl ()
 .EE
 .P
-(Using this format, rather than the use of "\efB...\efP()"
+(Using this format, rather than the use of "\[rs]fB...\[rs]fP()"
 makes it easier to write tools that parse man page source files.)
 .\"
 .SS Use semantic newlines
@@ -669,7 +669,7 @@ .SS Lists
 .TP
 Bullet lists
 Elements are preceded by bullet symbols
-.RB ( \e[bu] ).
+.RB ( \[rs][bu] ).
 Anything that doesn't fit elsewhere is
 usually covered by this type of list.
 .TP
@@ -958,7 +958,7 @@ .SS NULL, NUL, null pointer, and null byte
 is the
 .IR "null byte" ,
 a byte with the value 0, represented in C via the character constant
-.IR \[aq]\e0\[aq] .
+.IR \[aq]\[rs]0\[aq] .
 .P
 The preferred term for the pointer is "null pointer" or simply "NULL";
 avoid writing "NULL pointer".
@@ -998,7 +998,7 @@ .SS Use of e.g., i.e., etc., a.k.a., and similar
 In addition, "e.g." and "i.e." should always be followed by a comma.
 .SS Em-dashes
 The way to write an em-dash\[em]the glyph that appears
-at either end of this subphrase\[em]in *roff is with the macro "\e[em]".
+at either end of this subphrase\[em]in *roff is with the macro "\[rs][em]".
 (On an ASCII terminal, an em-dash typically renders as two hyphens,
 but in other typographical contexts it renders as a long dash.)
 Em-dashes should be written
@@ -1073,7 +1073,7 @@ .SS Generating optimal glyphs
 .P
 .in +4n
 .EX
-\e\-
+\[rs]\-
 .EE
 .in
 .P
@@ -1090,11 +1090,11 @@ .SS Generating optimal glyphs
 produce real minus signs when pasted into a terminal.
 .P
 To produce unslanted single quotes that render well in ASCII, UTF-8, and PDF,
-use "\e[aq]" ("apostrophe quote"); for example
+use "\[rs][aq]" ("apostrophe quote"); for example
 .P
 .in +4n
 .EX
-\e[aq]C\e[aq]
+\[rs][aq]C\[rs][aq]
 .EE
 .in
 .P
Signature · 1 line
<https://www.alejandro-colomar.es/>