Today I learned that $(…) is a valid #POSIX shell construct:
It seems it was already there in 2008:
ISTR a time where this wasn’t the case, but maybe that’s actually constructive memory stemming from outdated Autoconf recommendations: https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Shell-Substitutions.html
Anyway, Gash implements it, and Gash is the future! :-)
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!