Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: More rabbit-holes with unset variables
On Fri, Nov 27, 2020 at 2:10 PM Felipe Contreras
<felipe.contreras@xxxxxxxxx> wrote:
>
> So we can interpret what you said as 'so the only useful "declared but
> not set" variable is a string' without losing any meaning.
That's not correct, but again I was hoping it wasn't necessary to
spell all this out.
All of the following create parameters representing strings, none of
which are useful unless they either have a default or the "preserve
when not set" behavior applies:
typeset -L FOO
typeset -R FOO
typeset -Z FOO
typeset -H FOO
typeset -l FOO
typeset -u FOO
Messages sorted by:
Reverse Date,
Date,
Thread,
Author