When the comment is inside of a substituted process. #! /bin/bash -ex #
tee >(
# this is nifty
echo hi there
)
The above works. Whereas the below fails.
#! /bin/bash -ex
#
tee >(
# ain't this nifty
echo hi there
)
It burps thusly:
./foo.sh: line 7: bad substitution: no closing `)' in >(
# ain't this nifty
echo hi there
)
Is bash trying to be like tcl here? ;-)
../C
