I'm running a script, and I want it to print a "statement + variable + statement" at the end [when successful]. I've tried a few thing but it always returns as 3 separate lines, instead of one. The Echo "" before and after is just to make it easier to read when printed by spacing it out, I've tried it with and without and I get the same result.
$filename = "foo.csv"
echo ""
echo "The file" $filename "has been processed."
echo ""
I get this:
The file
foo.csv
has been processed.