From owner-cvs-src@FreeBSD.ORG Fri Sep 24 18:20:43 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C6E1516A4D0; Fri, 24 Sep 2004 18:20:43 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A6B7543D3F; Fri, 24 Sep 2004 18:20:43 +0000 (GMT) (envelope-from keramida@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i8OIKhbV046394; Fri, 24 Sep 2004 18:20:43 GMT (envelope-from keramida@repoman.freebsd.org) Received: (from keramida@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i8OIKhcC046393; Fri, 24 Sep 2004 18:20:43 GMT (envelope-from keramida) Message-Id: <200409241820.i8OIKhcC046393@repoman.freebsd.org> From: Giorgos Keramidas Date: Fri, 24 Sep 2004 18:20:43 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.bin/printf printf.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Sep 2004 18:20:44 -0000 keramida 2004-09-24 18:20:43 UTC FreeBSD src repository (doc committer) Modified files: usr.bin/printf printf.c Log: Allow %' to be used as a format flag by printf(1). This makes it possible to print the thousands separator in the locale setups that have one, by something like this: $ env -i LC_NUMERIC=en_US.ISO8859-1 ./printf "%'0.2f\n" 12345 12,345.00 Reviewed by: das Revision Changes Path 1.29 +1 -1 src/usr.bin/printf/printf.c