Path: csiph.com!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.unix.shell Subject: Re: a sed question Date: Sat, 21 Dec 2024 16:36:32 -0800 Organization: None to speak of Lines: 23 Message-ID: <87v7vcv9in.fsf@nosuchdomain.example.com> References: <874j304vv3.fsf@example.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Sun, 22 Dec 2024 01:36:34 +0100 (CET) Injection-Info: dont-email.me; posting-host="05490bf84a23842e58914ee4885380df"; logging-data="317765"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18VaFs5qt/00+dYHl5mF/zz" User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:CmpmViSgq3vSu6kI149DPYP5ew8= sha1:PEdspO6i6JKouDPMjm9YuCzdXM8= Xref: csiph.com comp.unix.shell:26012 Lawrence D'Oliveiro writes: > 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 ... I don't see how your conclusion follows from the data (of how many packages depend on gawk and perl, respectively). I'd be surprised to see *any* Linux distribution (other than small embedded systems) that doesn't include awk (either gawk or mawk, or even busybox awk) by default. -- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com void Void(void) { Void(); } /* The recursive call of the void */