~> cat x.sh
echo 10
~> eval (cat x.sh)
10

bash のこれ

$(cat x.sh)