From owner-cvs-all Mon Apr 29 9:45:29 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7782F37B417; Mon, 29 Apr 2002 09:45:16 -0700 (PDT) Received: (from jmallett@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g3TGjG826691; Mon, 29 Apr 2002 09:45:16 -0700 (PDT) (envelope-from jmallett) Message-Id: <200204291645.g3TGjG826691@freefall.freebsd.org> From: "J. Mallett" Date: Mon, 29 Apr 2002 09:45:16 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/printf Makefile printf.1 printf.c X-FreeBSD-CVS-Branch: RELENG_4 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG jmallett 2002/04/29 09:45:16 PDT Modified files: (Branch: RELENG_4) usr.bin/printf Makefile printf.1 printf.c Log: MFC printf(1) changes. Notably revision 1.20 of printf.c and revision 1.21 of printf.1: - printf shouldn't bail out if a conversion fails, it should just keep processing them. - \c escape to immediately stop output (similar to echo's \c) - \0NNN should be allowed for octal character escapes (instead of just \NNN) - %b conversion, which is like %s but interprets \n \t etc. inside the string is missing. And revision 1.21 of printf.c: Handle numbers larger than QUAD_MAX for unsigned conversions correctly. Exit with nonzero status if a conversion failed. Play nice if used as a shell builtin (currently disabled). PR: 35616 (some of it) Revision Changes Path 1.1.1.1.14.1 +1 -0 src/usr.bin/printf/Makefile 1.8.2.6 +34 -21 src/usr.bin/printf/printf.1 1.12.6.6 +138 -63 src/usr.bin/printf/printf.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message