Deutsch English Français Italiano |
<vk7kts$9evn$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!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: a sed question Date: Sun, 22 Dec 2024 01:02:03 +0100 Organization: A noiseless patient Spider Lines: 32 Message-ID: <vk7kts$9evn$1@dont-email.me> References: <874j304vv3.fsf@example.com> <vk6if0$2n5s$1@dont-email.me> <vk7ar2$7g01$4@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Date: Sun, 22 Dec 2024 01:02:05 +0100 (CET) Injection-Info: dont-email.me; posting-host="01087a4c372056a264078a83b087f742"; logging-data="310263"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+i+HE3Eg/xm0j8MQ3Uxy1t" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 Cancel-Lock: sha1:cJoX0rMcK99tDhFUBCGNuIN5UW8= In-Reply-To: <vk7ar2$7g01$4@dont-email.me> X-Enigmail-Draft-Status: N1110 Bytes: 2156 On 21.12.2024 22:09, Lawrence D'Oliveiro wrote: > On Sat, 21 Dec 2024 08:13:52 -0600, Ed Morton wrote: > >> for anything else you should just use awk ... (I wouldn't formulate it that way. - Just for the record.) > If you want to suggest Awk, you might as well use Perl. (Unfortunately no.) > That does > everything Awk does, just as concisely, and plenty more besides. (Features are not the whole story.) The advantage of Awk is that it's standard on Unix systems and can thus also be used in restricted professional environments (that are not uncommon as I experienced). There's yet more advantages, like (compared to Perl) legible syntax and being a terse language that you can quickly learn (and master). (I've elsethread mentioned R.Loui's examination of learning curves; he compared Perl and Awk in that respect, and Perl was, expectedly, much worse concerning that.) I know you're a fan of Perl, so I finish my post with the comment that Perl has other strengths. (Or Python, or <insert your favorite tool here>, etc.) Janis