bug-bash
[Top][All Lists]
Advanced

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

Re: using set +o posix unsets POSIXLY_CORRECT, even when POSIXLY_CORRECT


From: Chet Ramey
Subject: Re: using set +o posix unsets POSIXLY_CORRECT, even when POSIXLY_CORRECT is a read only variable
Date: Sun, 3 Jan 2016 14:33:17 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.5.0

On 12/31/15 7:04 PM, nerdopolis wrote:
> I tested on
> 4.2.45(1)-release
> 
> basically I have tested 
> address@hidden:~$ readonly POSIXLY_CORRECT=1
> address@hidden:~$ set +o posix
> address@hidden:~$ echo $POSIXLY_CORRECT
> 
> address@hidden:~$
> 
> Although I will admit I'm not sure if it's supposed to do that or not

Yes, it does, and yes, it's the intended behavior.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/



reply via email to

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