UNIX admin wrote:
>> I have several standard-compliant shell scripts.
>>  These scripts use
>> #!/bin/sh'.  However, since /bin/sh on Solaris is not
>>
>> standard-compliant, these scripts fail.
>
> How very interesting. Would you please list what exactly is it that fails, best with the snippets of code that fail?

For example,

r=$((3 + 1))

And it doesn't matter this can be written in a different way so that
it works in Solaris /bin/sh. What matters is that /usr/xpg4/bin/sh claims to be standard, and /bin/sh does not.

_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to