On 7 January 2010 Karl Berry wrote:

 >             if which bash >/dev/null
 > 
 > I doubt "which" is sufficiently portable, given that we're already
 > talking about systems that don't have /bin/bash.

Are assignments prefixed by "export" portable?

Isn't it more portable to write

   FOO=bar
   export FOO

instead of 

   export FOO=bar

?

Regards,
  Reinhard

-- 
----------------------------------------------------------------------------
Reinhard Kotucha                                      Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover                              mailto:[email protected]
----------------------------------------------------------------------------
Microsoft isn't the answer. Microsoft is the question, and the answer is NO.
----------------------------------------------------------------------------

Reply via email to