How to assign the cat output of a bash script to a variable in another script

NoSuchKey