From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 808 invoked from network); 17 Jun 2005 15:49:38 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 17 Jun 2005 15:49:38 -0000 Received: (qmail 12298 invoked from network); 17 Jun 2005 15:49:32 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 17 Jun 2005 15:49:32 -0000 Received: (qmail 22665 invoked by alias); 17 Jun 2005 15:47:38 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 21357 Received: (qmail 22530 invoked from network); 17 Jun 2005 15:47:26 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 17 Jun 2005 15:47:26 -0000 Received: (qmail 9340 invoked from network); 17 Jun 2005 15:47:26 -0000 Received: from vms048pub.verizon.net (206.46.252.48) by a.mx.sunsite.dk with SMTP; 17 Jun 2005 15:47:21 -0000 Received: from candle.brasslantern.com ([71.116.88.149]) by vms048.mailsrvcs.net (Sun Java System Messaging Server 6.2 HotFix 0.04 (built Dec 24 2004)) with ESMTPA id <0II800FZSJUVD1F5@vms048.mailsrvcs.net> for zsh-workers@sunsite.dk; Fri, 17 Jun 2005 10:47:20 -0500 (CDT) Received: from candle.brasslantern.com (IDENT:schaefer@localhost [127.0.0.1]) by candle.brasslantern.com (8.12.11/8.12.11) with ESMTP id j5HFlJxe012699 for ; Fri, 17 Jun 2005 08:47:19 -0700 Received: (from schaefer@localhost) by candle.brasslantern.com (8.12.11/8.12.11/Submit) id j5HFlJee012698 for zsh-workers@sunsite.dk; Fri, 17 Jun 2005 08:47:19 -0700 Date: Fri, 17 Jun 2005 15:47:18 +0000 From: Bart Schaefer Subject: Re: printf bug(s?) In-reply-to: To: zsh-workers@sunsite.dk Message-id: <1050617154719.ZM12697@candle.brasslantern.com> MIME-version: 1.0 X-Mailer: Z-Mail (5.0.0 30July97) Content-type: text/plain; charset=us-ascii References: <42B2203B.3060602@gentoo.org> <8037.1118996107@trentino.groupinfra.com> <42B2CE98.8070905@gentoo.org> Comments: In reply to J "Re: printf bug(s?)" (Jun 17, 3:48pm) X-Spam-Checker-Version: SpamAssassin 3.0.2 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, score=-2.6 required=6.0 tests=BAYES_00 autolearn=ham version=3.0.2 X-Spam-Hits: -2.6 On Jun 17, 3:48pm, J wrote: } Subject: Re: printf bug(s?) } } > I may be better off avoiding using \045 anyway and just } > replace it with %%... } } If I run } $ printf '\045i' '5+1' } I would certainly expect it to print 6, and not %i. Is the printf builtin (or shell utility) specified by POSIX? If so, this may be a reasonable question for austin-group interpretation.