While writing a script for a jobs scheduling or for any kind of deployment, it is sometimes needed to pass the output of a command to an argument of the script.
In such case,
$ touch script.rc
$ chmod u+x script.rc
$ vim script.rc
#!bin/bash
echo "Hello $(cat)"