Re: The "asort" extension (Was: feature proposal: expand associative arr
From:
G. Branden Robinson
Subject:
Re: The "asort" extension (Was: feature proposal: expand associative arrays in lexicographic order ...)
Date:
Wed, 26 Aug 2026 09:57:48 -0500
At 2026-08-26T06:06:42-0600, Stan Marsh wrote:
> From: Zachary Santer
> Whenever I see the phrase "sed and awk", I immediately think "No need
> for sed; whatever sed can do, AWK can do and do better".
...and whatever AWK can do, sed can do as well. ;-)
https://sed.sourceforge.io/local/scripts/dc.sed.html
You can also get a remarkable amount done with dc(1).
AWK is a very nice language and I've mused elsewhere that it seems to
occupy--or be terribly close to--a sweet spot in language design.
But it's just one tool in the box. A crafty person has many tools.
Regards,
Branden