Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.8.0
On 8/31/19 5:55 AM, Stephane Chazelas wrote:
> It would be worth documenting that $(<...) is *not* command
> substitution and doesn't involve a subshell (any longer in
> bash after the change).
But it is, at least in ksh93. The only place it's mentioned in the ksh93
man page is in the command substitution description:
"The command substitution $(cat file)
can be replaced by the equivalent but faster $(<file)."
There is no implication that $(< file) is anything but a special case
of command substitution, and no reason to treat it as anything else.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU address@hidden http://tiswww.cwru.edu/~chet/