Deutsch English Français Italiano |
<vk7pkb$a6l9$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 02:22:18 +0100 Organization: A noiseless patient Spider Lines: 32 Message-ID: <vk7pkb$a6l9$1@dont-email.me> References: <874j304vv3.fsf@example.com> <vk6if0$2n5s$1@dont-email.me> <vk7ar2$7g01$4@dont-email.me> <vk7kts$9evn$1@dont-email.me> <vk7meu$9jp7$2@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Sun, 22 Dec 2024 02:22:20 +0100 (CET) Injection-Info: dont-email.me; posting-host="9629fd46d3ef03abd119c82e77c4bd73"; logging-data="334505"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/MkTl9M/gKzG2qiP5PpJ5h" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 Cancel-Lock: sha1:FRJiHMwuPGDMy0ZK/sP4ta247+U= In-Reply-To: <vk7meu$9jp7$2@dont-email.me> X-Enigmail-Draft-Status: N1110 Bytes: 2176 On 22.12.2024 01:28, Lawrence D'Oliveiro wrote: > On Sun, 22 Dec 2024 01:02:03 +0100, Janis Papanagnou wrote: > >> The advantage of Awk is that it's standard on Unix systems ... > > On my Debian system: > > ldo@theon:~> apt-cache rdepends gawk | wc -l > 89 > ldo@theon:~> apt-cache rdepends perl | wc -l > 1121 > > Let’s just say, you’re more likely to find Perl than Awk on a Linux > system ... My comment was on Unix systems (not specifically Linux) and on the Unix standards (POSIX). Not sure what you read and understood where I wrote "standard". Awk is demanded by POSIX, Perl isn't. So on any standard conforming Unix you are guaranteed to *have* a 'sh' (POSIX-shell) and an 'awk'. Moreover, even if you are developing on a system with Perl, but will have to implement (run) the software in a different environment, you may not be allowed to install third party software (open or else) with it. (One may not like such company policies but they are reality.) Janis