I'm trying to run an expect script that runs a telnet session to automate the sending of an email, I'm trying to pass the contents of a file as a single argument to my script but when the backticks are interpreted the white space in that file are causing multiple arguments to be passed.
Here's my command...
runTelnet `cat test_results.txt`
Is there a way to quote the output of a backtick expression?