Why source command doesn’t work with process substitution in bash 3.2?

This is a known limitation in bash 3.2. To work around it:

source /dev/stdin <<<"$(echo bar=bar)"

…or, similarly:

source /dev/stdin <<<"$(cat <(...))"

Leave a Comment