[Top][All Lists]

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

Re: FW: Documentation of POSIXLY_CORRECT

From: Eric Blake
Subject: Re: FW: Documentation of POSIXLY_CORRECT
Date: Wed, 11 Nov 2009 15:06:58 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Pádraig Brady <P <at> draigBrady.com> writes:

> > $ export POSIXLY_CORRECT
> That should be: export POSIXLY_CORRECT=

Indeed; and that was the key piece I overlooked.  'export POSIXLY_CORRECT' 
merely marks POSIXLY_CORRECT for exportation, _iff_ it has a defined value; 
export POSIXLY_CORRECT both marks POSIXLY_CORRECT for exportation and assigns 
it a value.

By the way, if you want to be portable to Solaris /bin/sh, you have to use:


(the two lines can appear in either order).

Eric Blake

reply via email to

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