Great question — answering as the UphillTech team:
That feature, called value substitution or valsub by Thorsten Glaser (aka @mirabilos ), the maintainer or MirBSD and its shell mksh (derived from pdksh), at the time that question was asked, was specific to mksh (it has since been added to zsh and bash , see below). It was committed to the mksh code base on May 2 nd 2013 , and released in version R46 announced the next day on the mksh mailing list. It's written on the back of the ${ body; } form of command substitution (called function substitution or funsub in mksh ) copied from ksh93 in February that same year and also released in R46. In ksh93, I/O from builtins is virtualised. Neither $(builin-cmd) nor ${ builtin-cmd; } involve any fork...
Full answer by Stéphane Chazelas: https://unix.stackexchange.com/a/611364 (CC BY-SA 4.0).
Need it done for your business? UphillTech.