tech-userlevel archive

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

Re: Re-establishing the "magic" of the special vars in sh(1)



kre%munnari.OZ.AU@localhost (Robert Elz) writes:

>A couple of them (including LINENO, obviously) but also RANDOM are
>very special, the magic cannot be removed, though it can temporarily
>be suspended by unsetting them.

Doesn't POSIX require that the variable is non-magic once set or unset
for the lifetime of the shell?

N.B. that would also be my preferred handling of all such variables.

-- 
-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."


Home | Main Index | Thread Index | Old Index