help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Variable export, recursion, and environment


From: Paul D. Smith
Subject: Re: Variable export, recursion, and environment
Date: Thu, 19 Oct 2000 14:00:39 -0400

%% Sankaranarayanan K V <address@hidden> 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 <address@hidden>          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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]