Re: The "asort" extension (Was: feature proposal: expand associative arrays in lexicographic order ...)

"G. Branden Robinson" <[email protected]>
Newsgroups gmane.comp.shells.bash.bugs
Message-ID <20260826145748.ihiatcaae232zjhi@illithid>
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
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEh3PWHWjjDgcrENwa0Z6cfXEmbc4FAmqO/uMACgkQ0Z6cfXEm
bc71Rw//QZavcNkMNSoPi/Z4PZLHVI2NPgSGNBgqxB90liS752eh+GectOVHcDlo
xCdfcuGh+YnjmI5Irlwdulz/T2/W3gIYJr07RlUPyjHOuu+aYYTq+9b7/RtCgpdK
8B+mzrcg+dgqo9l/ZArYMMhJZBESbmhBv0FVgJamuW/frZ03HiDdGZVTinf8GMEv
ujFF7A8PmFndVKYv0s9b3mcydeiAvB6I7KYbAbAAxO/2zChWKjOlcfdv8U2ISkW7
piYppkswSRRDR2fBwjKZi+BSelAJzuAMFfiv2X4sDTWawdzUs2v/H6HEvUHNE92f
l3P0Kpdz4FSxMRdpvQqr6Ptrv4zXnkmUG73ccUSRg9G4nXxSlGpFO8F9QVCKN3so
ngDJInyiJiLHJhvDz1C6g8LMu5IQ4qgO9E6UR90cCpwjtF2WFVm+qNTyA34s+KyY
AIllkXmlk+zvsdeNnArPCJ8KXN7PV4rXmrC2Vviz6+EW3GoQKWuwGEQdGTJOoHJo
DQg9vI6//oiwbzoWd4EiUjoWwYxyQnmlFI+wBJt2OByO0ii6yztFu2MTPcZSz8AF
DX9s827FPPh6Sb1mIDIwKThOdgN7zysmvq6bZt0Mx4PvVUTMnvB4yhYmUoflsVTA
UcbJ8WbkWdlr9d0wmXN4RYYcnfE38vXlQPbHnS71PlAOwRjQKpc=
=bWnC
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.