NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/39111: Error in printf(3) man page



>Number:         39111
>Category:       bin
>Synopsis:       Error in printf(3) man page
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 06 15:45:00 +0000 2008
>Originator:     Paul Goyette
>Release:        4.99.67
>Organization:
>Environment:
>Description:
Man page for printf(1) states in the description of the %b format

              \M^c    Write the control character c with the 8th bit set.
                      Generates characters `\000' through `\037`, and
                      `\177' (from `\M^?').

It should say

                      Generates characters `\200' through `\237' and
                      `\377' (from `\M^?').
>How-To-Repeat:

>Fix:
Index: printf.1
===================================================================
RCS file: /cvsroot/src/usr.bin/printf/printf.1,v
retrieving revision 1.21
diff -u -p -r1.21 printf.1
--- printf.1    6 May 2008 12:01:35 -0000       1.21
+++ printf.1    6 Jul 2008 15:42:32 -0000
@@ -327,7 +327,7 @@ Generates characters `\e241' through `\e
 Write the control character
 .Ar c
 with the 8th bit set.
-Generates characters `\e000' through `\e037`, and `\e177' (from `\eM^?').
+Generates characters `\e200' through `\e237`, and `\e377' (from `\eM^?').
 .El
 .It Cm B
 Characters from the string



Home | Main Index | Thread Index | Old Index