Print this page
4023 - Typo in file(1) manpage and various others

@@ -636,11 +636,11 @@
 base10 rounding errors.
 
 .sp
 .in +2
 .nf
-example% printf "%a\n" 2 3.1 NaN
+example% printf "%a\en" 2 3.1 NaN
 .fi
 .in -2
 .sp
 
 .sp

@@ -665,11 +665,11 @@
 floating-point value.
 
 .sp
 .in +2
 .nf
-example% x=2 ; printf "%f == %a\n" x x
+example% x=2 ; printf "%f == %a\en" x x
 .fi
 .in -2
 .sp
 
 .sp

@@ -691,11 +691,11 @@
 The following command will print the EURO unicode symbol (code-point 0x20ac).
 
 .sp
 .in +2
 .nf
-example% LC_ALL=en_US.UTF-8 printf "\u[20ac]\n"
+example% LC_ALL=en_US.UTF-8 printf "\u[20ac]\en"
 .fi
 .in -2
 .sp
 
 .sp

@@ -722,11 +722,11 @@
 
 .sp
 .in +2
 .nf
 example% export LC_ALL=en_US.UTF-8
-example% printf "%x\n" "'<euro>"
+example% printf "%x\en" "'<euro>"
 .fi
 .in -2
 .sp
 
 .sp

@@ -749,11 +749,11 @@
 .LP
 \fBExample 10 \fRPrint the numeric value of an ASCII character
 .sp
 .in +2
 .nf
-example% printf "%d\n" "'A"
+example% printf "%d\en" "'A"
 .fi
 .in -2
 .sp
 
 .sp

@@ -800,11 +800,11 @@
 For American usage, format could be the string:
 
 .sp
 .in +2
 .nf
-"%s, %s %d, %d:%.2d\n"
+"%s, %s %d, %d:%.2d\en"
 .fi
 .in -2
 .sp
 
 .sp

@@ -824,11 +824,11 @@
 Whereas for EU usage, format could be the string:
 
 .sp
 .in +2
 .nf
-"%1$s, %3$d. %2$s, %4$d:%5$.2d\n"
+"%1$s, %3$d. %2$s, %4$d:%5$.2d\en"
 .fi
 .in -2
 .sp
 
 .sp

@@ -836,11 +836,11 @@
 Note that the '$' characters must be properly escaped, such as
 
 .sp
 .in +2
 .nf
-"%1\$s, %3\$d. %2\$s, %4\$d:%5\$.2d\n" in this case
+"%1\$s, %3\$d. %2\$s, %4\$d:%5\$.2d\en" in this case
 .fi
 .in -2
 .sp
 
 .sp

@@ -928,11 +928,11 @@
 .LP
 Using format specifiers (characters following '%') which are not listed in the
 \fBprintf\fR(3C) or this manual page will result in undefined behavior.
 .sp
 .LP
-Using escape sequences (the character following a backslash ('\')) which are
+Using escape sequences (the character following a backslash ('\e')) which are
 not listed in the \fBprintf\fR(3C) or this manual page will result in undefined
 behavior.
 .sp
 .LP
 Floating-point values follow C99, XPG6 and IEEE 754 standard behavior and can