The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com




Thread: Profile Issue
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #4 (permalink)  
Old 09-24-2008
jlliagre jlliagre is offline Forum Advisor  
ɹǝsn sıɹɐlosuǝdo
  
 

Join Date: Dec 2007
Location: Paris
Posts: 1,478
Quote:
Originally Posted by jim mcnamara View Post
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.