In Bash, you can do several different things to accomplish this:
A here is the line:
read XYZV <<< $(echo "abcd"); echo $X
Process Replacement:
read XYZV < <(echo "abcd"); echo $X
And here is a command substitution document:
read XYZV <<EOF $(echo "abcd") EOF echo $X
This document method will also work with POSIX shells in addition to Bash.
If you are reading from a file and not from the output of another command, this is a little easier.
source share