Re: Special built-ins not persisting assignments

2014-03-25 Thread Mike Frysinger
On Tue 25 Mar 2014 00:39:18 Pollock, Wayne wrote: > $ echo $BASH_VERSION > 4.2.45(1)-release > > $ unset foo > > $ foo=bar : > > $ echo $foo > > > $ > > === > > According to POSIX/SUS issue 7, assignments for special builtins > should persist. So the output should be ``bar''. >

Re: Special built-ins not persisting assignments

2014-03-24 Thread Pierre Gaston
On Tue, Mar 25, 2014 at 2:39 AM, Pollock, Wayne wrote: > $ echo $BASH_VERSION > 4.2.45(1)-release > > $ unset foo > > $ foo=bar : > > $ echo $foo > > > $ > > === > > According to POSIX/SUS issue 7, assignments for special builtins > should persist. So the output should be ``bar''. >

Special built-ins not persisting assignments

2014-03-24 Thread Pollock, Wayne
$ echo $BASH_VERSION 4.2.45(1)-release $ unset foo $ foo=bar : $ echo $foo $ === According to POSIX/SUS issue 7, assignments for special builtins should persist. So the output should be ``bar''. Is there a setting I should turn off (or need to enable), to make this work correct