On 7/30/13 7:04 PM, Curtis Doty wrote:
> 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
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 substit