From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7768 invoked from network); 21 Sep 2001 14:43:30 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 21 Sep 2001 14:43:30 -0000 Received: (qmail 24155 invoked by alias); 21 Sep 2001 14:43:25 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 15852 Received: (qmail 24144 invoked from network); 21 Sep 2001 14:43:24 -0000 From: Bart Schaefer Message-Id: <1010921144251.ZM17719@candle.brasslantern.com> Date: Fri, 21 Sep 2001 14:42:51 +0000 In-Reply-To: <3BAB1D55.8258B237@yahoo.co.uk> Comments: In reply to Oliver Kiddle "Re: PATCH: printf builtin" (Sep 21, 11:58am) References: <3BAA3F2A.86D73181@yahoo.co.uk> <1010920203312.ZM16858@candle.brasslantern.com> <3BAB1D55.8258B237@yahoo.co.uk> X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-workers@sunsite.dk Subject: Re: PATCH: printf builtin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Sep 21, 11:58am, Oliver Kiddle wrote: } } I'll put the ksh print -f functionality on my todo list though. It makes } sense to combine the -b, -m, -s, -o, -O, -i, -u, -p, -z, -D and -P } options with -f. -r, -R, -n, -l, -N and -c would make no sense to } combine. -l and -N would be fairly redundant because it would be better } to use a format of "%s\n" or "%s\0" so they should perhaps then be } declared obsolete. -P (and maybe -D) is also perhaps slightly } unfortunate because a %P format specification might be better. This all sounds fine except that I don't see any reason to declare any of the existing options obsolete. There is a bit of an issue with respect to combining with -s and -z, as those at present imply -n, and -z also implies -r; the question is what to do with trailing newlines if they appear in the format string. (This'll be my last message until late Sunday, as I'm off to a wedding in Yosemite National Park.) -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net