Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.5: Fix the echo -n problem in 10.5' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: Fix the echo -n problem in 10.5
Authored by: dewab on Nov 20, '07 03:28:53PM

Another option, if you don't want to edit the magic line (the #!/bin/shell line) is to explicitly specify the shell to use to run the script.

I.e.

as opposed to:
$ ./script.sh

do a:
$ /usr/bin/bash ./script.sh

Bit of a pain, but you can avoid editing files if that's a concern.



[ Reply to This | # ]