zsh-workers
 help / color / mirror / code / Atom feed
From: "Johan Sundström" <johsu650@student.liu.se>
To: zsh-workers@sunsite.auc.dk
Subject: <n> == <n->?
Date: Tue, 4 Apr 2000 01:09:29 +0200 (MET DST)	[thread overview]
Message-ID: <Pine.GSO.4.02.10004040058110.14057-100000@astmatix.ida.liu.se> (raw)

Hi!

When upgrading from zsh 3.1.6 to 3.1.6-dev-17 (as found in the Mandrake
zsh-3.1.6dev17-1mdk rpm), I was sad to notice that the glob behaviour of
the pattern <number> had changed to something identical to what I had
earlier (and still can) specified as <number->, that is, an open range of
numbers, from number onwards.

The old behaviour is, luckily, still available as <n-n> (although with
some extra pointless repetitive typing), but I rather liked the syntactic
simplicity of <n>, especially since <-n> or <n-> both are easy typers and
good for their purposes. <n> isn't useless, if (s)he who changed its 
behaviour thought so, since it matches all the number n with any amount of
leading zeroes, a feature I have daily use for, when rummaging through
huge log directories, for instance.

Is this behaviour still there in the cvs version? On purpose? Any chance
of getting back the old style "syntactic sugar" pattern look?

/Johan Sundström, occational zsh developer, frequent zsh user and deployer


             reply	other threads:[~2000-04-03 23:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-04-03 23:09 Johan Sundström [this message]
2000-04-04  1:16 ` Zefram
2000-04-04 17:00   ` Johan Sundström
2000-04-04 19:32     ` Peter Stephenson
2000-04-04 21:01     ` Zefram

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=Pine.GSO.4.02.10004040058110.14057-100000@astmatix.ida.liu.se \
    --to=johsu650@student.liu.se \
    --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).