We are using many extensions in our scripts which may not
be present in standard /bin/sh shell. I do not know what
is your default shell (BTW what is it?) but for sure I know
many shells which will not work.
I believe it's bash.

Do you want to say that in MacOSX bash is hacked to not understand -n
echo switch?

I'm confused what bash means, if I type /bin/sh --help, it will
show this:
--
silver:harbour vszakats$ /bin/sh --help
GNU bash, version 3.2.17(1)-release-(powerpc-apple-darwin9.0)
Usage:  /bin/sh [GNU long option] [option] ...
        /bin/sh [GNU long option] [option] script-file ...
GNU long options:
--

And I think the answer to your question is: yes. As far
as I could see on internet articles, Apple tackled sh
to not understand 'echo -n', in order to be compliant with
the Unix whatever standard. This didn't affect bash though,
which still understands ''echo -n'. The two shell binaries
are almost identical, except some subtle differences, like
this one.

I'm referring to this article as a starting point:
http://www.macosxhints.com/article.php?story=20071106192548833
[ read the comments too. ]

Brgds,
Viktor

_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to