Quote:
Originally Posted by VDP76
hi,
I am no bash guru and maybe you have already tried this, but I'll give it a try...does the following command, written at the beginning of your script, do the trick!?
Code:
alias echo='echo -e'
|
Thank you - i tried that - no luck.
I should be explicit tho:
it works in the sense it defines the "echo -e", BUT "echo -e" remains defined after script ends.
ahh. And moment of truth was right there in front of my fingers. Here is the current solution:
Code:
#!/bin/ksh
alias echo='echo -e '
<blah>
unalias echo
# EOF
Thank you!