Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: possible 'is-at-least' bug?
- X-seq: zsh-users 21077
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: possible 'is-at-least' bug?
- Date: Wed, 9 Dec 2015 16:01:57 -0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version:content-type; bh=KRRWSpkLIjAWWZYFJSjjJ9Z7sfRto6RSrbtyZiWWCYs=; b=azr0+4F3h7rB51O8ykrvNN1tempAv5X5UxJd8exLE8KRd4QtL5xHXsQSKtA151xY7T SIzQG/dqkdJfEXQ+Bch5ESci3IirhW+oXG4SN3gQEgL59QbMZbFNrefeSOo+nEbeH9X5 NeO5rA2IXrR/JriWLWy5cdaW2dR7pbxkgudyQtambzvoZfWeAj6WdAkQhCqDLSA3Q4gy hnHKOGEH/ZvkY+U64WoVOoqDf/7c8FxomR/MuK156s0k184MNoEvKlJh/058vL7+DNjT uIFdk1LEiVt64tME/rrddkTqmLz9XMyA3RwTudKElTfLVVeqRMI22DMycN4lO1NvahI2 65zA==
- In-reply-to: <20151207102525.GA12995@cventin.lip.ens-lyon.fr>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <CADjGqHue=fEzyoayraCEZtqzuExyJiGuMjUDHKYtEOu47w6bew@mail.gmail.com> <CAB2RFrTcUWZZRbWqCT+7mZxUp+A5eb=psc46oDXSqrCcPXGVOQ@mail.gmail.com> <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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author