zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@pwstephenson.fsnet.co.uk>
To: Zsh hackers list <zsh-workers@sunsite.auc.dk>
Subject: Re: PATCH: C_BASES option for outputting hex and octal
Date: Sat, 12 Aug 2000 16:46:46 +0100	[thread overview]
Message-ID: <E13NdUO-0002sv-00.2000-08-12-16-46-24@cmailg3.svr.pol.co.uk> (raw)
In-Reply-To: "Zefram"'s message of "Fri, 11 Aug 2000 21:16:03 BST." <E13NLDn-0005KX-00@crucigera.fysh.org>

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 <pws@pwstephenson.fsnet.co.uk>
Work: pws@csr.com
Web: http://www.pwstephenson.fsnet.co.uk


      reply	other threads:[~2000-08-12 15:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-08-10 16:11 Peter Stephenson
2000-08-11 20:16 ` Zefram
2000-08-12 15:46   ` Peter Stephenson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E13NdUO-0002sv-00.2000-08-12-16-46-24@cmailg3.svr.pol.co.uk \
    --to=pws@pwstephenson.fsnet.co.uk \
    --cc=zsh-workers@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).