From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14930 invoked by alias); 10 Dec 2015 00:01:53 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 21077 Received: (qmail 21774 invoked from network); 10 Dec 2015 00:01:50 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.0 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== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version:content-type; bh=KRRWSpkLIjAWWZYFJSjjJ9Z7sfRto6RSrbtyZiWWCYs=; b=ON46MjWNtLCD1DgCS9Qfdfu8VVE68rKmZiYwGnM+H+Ye+UbwivNhYi2y06+v/29hF5 mzcBdwKm1uBSydhvOgGIrQjQyluw/MPkkcv8KDtzyvhYkXGSUxjbsGy3Eo/Zt+ZKdta5 scGjFUb4udPZRrrcDSAbguSULldagcw8uC36Rauh4vmgwzGHKzQ1TLbujLEYw4G53Yr7 DUjBH1RyvNWNqDrhHrBhQ6lOKkGPX1FK+kWsTrw/2+ssMADWQBbvJYIIvsf2Bz5f+5GA hkeqAUUJNk0KeO1mhmKIy+2QtCyyWUZMhL9glw1fc4Yh5I6rMFYj4V2T/ygJf7l51K3K oqSg== X-Gm-Message-State: ALoCoQndPsPDHnZ1aVxwvwIklgflskwEF37kcjUvhq+4gkUcAxhg98ojFIimDL873unz5AMSkyB7y+oQxpBrnkDElhmpCcuc2A== X-Received: by 10.98.71.194 with SMTP id p63mr2513069pfi.66.1449705707935; Wed, 09 Dec 2015 16:01:47 -0800 (PST) From: Bart Schaefer Message-Id: <151209160157.ZM28612@torch.brasslantern.com> Date: Wed, 9 Dec 2015 16:01:57 -0800 In-Reply-To: <20151207102525.GA12995@cventin.lip.ens-lyon.fr> Comments: In reply to Vincent Lefevre "Re: possible 'is-at-least' bug?" (Dec 7, 11:25am) References: <20151207102525.GA12995@cventin.lip.ens-lyon.fr> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-users@zsh.org Subject: Re: possible 'is-at-least' bug? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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.