%% Sankaranarayanan K V <[EMAIL PROTECTED]> writes:
 
  skv>   - bash behaves just as you have said --
  skv>     it passes on changes to the child even if the variable is not
  skv>     exported specifically in the parent.

ksh behaves this way too.

  skv>   - sh (the Bourne shell) does NOT pass the changes to the child if the
  skv>     variable is not exported.

  skv> Now, isn't that strange? What does POSIX say?

POSIX agrees with bash and ksh.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <[EMAIL PROTECTED]>          Find some GNU make tips at:
 http://www.gnu.org                      http://www.paulandlesley.org/gmake/
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist

_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make

Reply via email to