| Deutsch English Français Italiano |
|
<v4ll54$3sd11$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!feed.opticnetworks.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Janis Papanagnou <janis_papanagnou+ng@hotmail.com> Newsgroups: comp.unix.shell Subject: Re: Numerically sorted arguments (in shell) Date: Sun, 16 Jun 2024 05:11:29 +0200 Organization: A noiseless patient Spider Lines: 30 Message-ID: <v4ll54$3sd11$1@dont-email.me> References: <v4grk8$2pp51$1@dont-email.me> <v4l5p1$3lqic$10@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Sun, 16 Jun 2024 05:11:32 +0200 (CEST) Injection-Info: dont-email.me; posting-host="14bb39f07e17302d959adafc07d464c7"; logging-data="4076577"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/sjHncVRffPAKC/qAOm/y7" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 Cancel-Lock: sha1:LIkyY0YO57xQa17cYajIXod1x9U= X-Enigmail-Draft-Status: N1110 In-Reply-To: <v4l5p1$3lqic$10@dont-email.me> Bytes: 2322 On 16.06.2024 00:49, Lawrence D'Oliveiro wrote: > On Fri, 14 Jun 2024 09:31:18 +0200, Janis Papanagnou wrote: > >> I'm using ksh here... > > At some point, you have to accept that trying to do everything in a shell > language is not the best way to go, and that it is time to switch to a > “real” programming language. What argument are you trying to make up? What makes you think I'm doing "everything in a shell"? (My approach is to take the appropriate tools and language from the set of (a dozen, or so) "real" languages I know, plus from the set of a handful of scripting languages that I know.) > For example, Perl or Python could do this much more easily. I don't know of this feature in Perl or Python; please provide some hint if there is a feature like the one I need. Some code samples for demonstration of your point are also welcome. (Only in case you missed it; I'm not [primarily] looking for a program; for the described task I'm fine with what I have done. Rather I'm looking for an inherent feature that supports what I described elsethread. And I like to have this feature in shell since a shell is my standard interface to my Unix system. HTH.) Janis