zsh-users
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-users@zsh.org
Subject: Re: possible 'is-at-least' bug?
Date: Wed, 9 Dec 2015 16:01:57 -0800	[thread overview]
Message-ID: <151209160157.ZM28612@torch.brasslantern.com> (raw)
In-Reply-To: <20151207102525.GA12995@cventin.lip.ens-lyon.fr>

On Dec 7, 11:25am, Vincent Lefevre wrote:
} Subject: Re: possible 'is-at-least' bug?
}
} On 2015-12-05 01:29:46 -0500, Benjamin R. Haskell wrote:
} > `is-at-least` isn't intended to be that general.
} > 
} > To do so would require a great deal more complexity.
} 
} No, zsh already implements numeric sorting for the "n" parameter
} expansion flag.

That's not the complexity he means.  Right now is-at-least splits up
the string on dots and dashes by the simple expedient of setting $IFS.
To also split "1a1" and "1b2" etc. on the non-space between the numbers
and the letters, would require quite a bit more effort.


  reply	other threads:[~2015-12-10  0:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-04 23:45 TJ Luoma
2015-12-05  6:29 ` Benjamin R. Haskell
2015-12-07 10:25   ` Vincent Lefevre
2015-12-10  0:01     ` Bart Schaefer [this message]
2015-12-11 11:22       ` Vincent Lefevre
2015-12-12  5:29         ` Bart Schaefer

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=151209160157.ZM28612@torch.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=zsh-users@zsh.org \
    /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).