zsh-workers
 help / color / mirror / code / Atom feed
* <n> == <n->?
@ 2000-04-03 23:09 Johan Sundström
  2000-04-04  1:16 ` Zefram
  0 siblings, 1 reply; 5+ messages in thread
From: Johan Sundström @ 2000-04-03 23:09 UTC (permalink / raw)
  To: zsh-workers

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2000-04-04 21:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-04-03 23:09 <n> == <n->? Johan Sundström
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

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).