From owner-freebsd-bugs Thu Sep 4 19:30:06 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id TAA10354 for bugs-outgoing; Thu, 4 Sep 1997 19:30:06 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.7/8.8.7) id TAA10346; Thu, 4 Sep 1997 19:30:03 -0700 (PDT) Resent-Date: Thu, 4 Sep 1997 19:30:03 -0700 (PDT) Resent-Message-Id: <199709050230.TAA10346@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, karpen@ocean.campus.luth.se Received: (from nobody@localhost) by hub.freebsd.org (8.8.7/8.8.7) id TAA10164; Thu, 4 Sep 1997 19:27:52 -0700 (PDT) Message-Id: <199709050227.TAA10164@hub.freebsd.org> Date: Thu, 4 Sep 1997 19:27:52 -0700 (PDT) From: karpen@ocean.campus.luth.se To: freebsd-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: www-1.0 Subject: docs/4472: manpage for /usr/bin/printf is not complete Sender: owner-freebsd-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 4472 >Category: docs >Synopsis: manpage for /usr/bin/printf is not complete >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Thu Sep 4 19:30:01 PDT 1997 >Last-Modified: >Originator: Mikael Karpberg >Organization: - >Release: 2.2-970621-RELENG >Environment: CVS indicates it's not fixed in any version... >Description: The manpage to /usr/bin/printf doesn't mention that you can set an asterisk as the field width or precision. Putting an asterisk there works however. It's even mentioned in a comment in the main loop of printf(1): .... * Basic algorithm is to scan the format string for conversion * specifications -- once one is found, find out if the field * width or precision is a '*'; if it is, gather up value. .... >How-To-Repeat: man 1 printf >Fix: Copy some text from printf(3) >Audit-Trail: >Unformatted: