I have an echo statement in my script as below:
echo -ne "Check Script";
I was expecting it to print
Check Script
but I am getting the below output
-ne Check Script
But when I run the same script on some other machine I get the expected output. What could be machine specific variables or properties because of which the script is behaving differently.
shopt xpg_echo
. – Mikel Nov 07 '12 at 16:26