[Top][All Lists]

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

Special built-ins not persisting assignments

From: Pollock, Wayne
Subject: Special built-ins not persisting assignments
Date: Tue, 25 Mar 2014 00:39:18 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0


$ 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 correctly?

I was able to confirm this bug for version 4.2.37(1)-release as
well.  (zsh 4.3.17 (i386-redhat-linux-gnu) has the same bug.)

Wayne Pollock

reply via email to

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