* Please extend `typeset -U'
@ 1996-10-18 17:25 Fung-Chai Lim
0 siblings, 0 replies; only message in thread
From: Fung-Chai Lim @ 1996-10-18 17:25 UTC (permalink / raw)
To: The Z-shell
Hi,
Currently, `typeset -U' only works for arrays and special parameters
known to zsh.
Many programs use PATH-like environmental variables; eg, GNU info
(INFOPATH), Sun's dynamic linker (LD_LIBRARY_PATH).
It would be nice if `typeset -U' also works for these var as well.
However, it is not possible to know beforehand what programs are
out there in the world, and the env-var names that they use.
So, how about if the name of the env-var has a `PATH' suffix,
`typeset -U' would treat the env-var as special?
Or, better yet, a new `set -D var' to indicate that `var' has a
dual:
set -AD var ==> the dual is VAR
set -D VAR ==> the dual is var
The lowercase version is an array while the uppercase variable is
a colon-separated list of words.
Thanks.
Regards,
fclim.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1996-10-18 17:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-10-18 17:25 Please extend `typeset -U' Fung-Chai Lim
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).