Just as a follow-up. The problem was an argument for the echo program ie. the -e argument which evaluates escaped characters on red-hat systems and is unset by default.
Hence I fixed this by: alias echo = "echo -e"
Thanks anyway
Keto
Hello Everyone,
I'm having a problem with using the escape character effectively. I'm running RedHat 6.2 and I am trying to write scripts using the bash shell.
Whenever I type \n to start a new line, it actually prints it out in the script, the same goes for \c. I have been told that I might be...
I'm relatively new to shell scrpting and I want to know how you can read from the stdin interactively from a script and then append that variable to an existing file. Please can anyone help?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.