Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Lawrence D'Oliveiro Newsgroups: comp.unix.shell Subject: Re: Numerically sorted arguments (in shell) Date: Fri, 21 Jun 2024 03:37:51 -0000 (UTC) Organization: A noiseless patient Spider Lines: 7 Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Fri, 21 Jun 2024 05:37:51 +0200 (CEST) Injection-Info: dont-email.me; posting-host="66b3929645a80745d97b68595a297468"; logging-data="3147071"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/wcmQy/E6JZwXAfePn4xWP" User-Agent: Pan/0.158 (Avdiivka; ) Cancel-Lock: sha1:akl+CM2OdGRaH74HNI73uoz7leg= Bytes: 1401 On Thu, 20 Jun 2024 22:16:42 -0000 (UTC), vallor wrote: > I just posted a python program to comp.lang.python that sorts parameters > using strverscmp(3). I already posted a snippet here which sorts strings containing any number of decimal-numerical segments.