Quote:
Originally Posted by jim mcnamara
You cannot have export on the line where the value is assigned to the variable.
|
I would say you can do it in all
POSIX compliant shells but /usr/bin/sh and /sbin/sh aren't compliant under Solaris.
/bin/sh is a legacy shell that remains only for compatibility reasons with mostly hypothetical antique scripts.
It shouldn't be assigned to a real user because it lacks so many useful and standard features.