NetBSD Problem Report #39111

From www@NetBSD.org  Sun Jul  6 15:44:57 2008
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id AFE8B63BCE4
	for <gnats-bugs@gnats.netbsd.org>; Sun,  6 Jul 2008 15:44:57 +0000 (UTC)
Message-Id: <20080706154457.77EA463B880@narn.NetBSD.org>
Date: Sun,  6 Jul 2008 15:44:57 +0000 (UTC)
From: paul@whooppee.com
Reply-To: paul@whooppee.com
To: gnats-bugs@NetBSD.org
Subject: Error in printf(3) man page
X-Send-Pr-Version: www-1.0

>Number:         39111
>Category:       bin
>Synopsis:       Error in printf(3) man page
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          closed
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 06 15:45:00 +0000 2008
>Closed-Date:    Mon Sep 01 09:26:15 +0000 2008
>Last-Modified:  Mon Sep 01 09:26:15 +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

>Release-Note:

>Audit-Trail:
From: "David A. Holland" <dholland@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/39111 CVS commit: src/usr.bin/printf
Date: Mon,  1 Sep 2008 09:20:41 +0000 (UTC)

 Module Name:	src
 Committed By:	dholland
 Date:		Mon Sep  1 09:20:41 UTC 2008

 Modified Files:
 	src/usr.bin/printf: printf.1

 Log Message:
 Fix description of %b format. PR 39111 from Paul Goyette.


 To generate a diff of this commit:
 cvs rdiff -r1.21 -r1.22 src/usr.bin/printf/printf.1

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 01 Sep 2008 09:26:15 +0000
State-Changed-Why:
applied, thanks


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.