From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4088 invoked from network); 12 Aug 2000 15:47:04 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 12 Aug 2000 15:47:04 -0000 Received: (qmail 24869 invoked by alias); 12 Aug 2000 15:46:29 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 12600 Received: (qmail 24861 invoked from network); 12 Aug 2000 15:46:28 -0000 To: Zsh hackers list Subject: Re: PATCH: C_BASES option for outputting hex and octal In-reply-to: "Zefram"'s message of "Fri, 11 Aug 2000 21:16:03 BST." Date: Sat, 12 Aug 2000 16:46:46 +0100 From: Peter Stephenson Message-Id: Zefram wrote: > Wouldn't it be nicer to have $(([#0x]$num)) do the 0x-prefixed output, > or some equivalent syntax? It'd be nicer not to have to fiddle with a > global option to control an essentially local decision. Well, there is a local fix for this, and it was being fed up with having to use it when all I wanted was what seemed to me the standard output that made me fix it this way. If the usual output wasn't so non-standard I wouldn't have thought about it. But the [#0x] idea is a good one (and I supposed `typeset -i 0x foo' would be a natural companion, though option argument passing for builtins is currently horrible). -- Peter Stephenson Work: pws@csr.com Web: http://www.pwstephenson.fsnet.co.uk