zsh-workers
 help / color / mirror / code / Atom feed
From: Fung-Chai Lim <fclim@singnet.com.sg>
To: zsh-workers@math.gatech.edu (The Z-shell)
Subject: Please extend `typeset -U'
Date: Sat, 19 Oct 1996 01:25:06 +0800 (SGT)	[thread overview]
Message-ID: <9610181725.AA01997@fclim.singnet.com.sg> (raw)

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.


                 reply	other threads:[~1996-10-18 17:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9610181725.AA01997@fclim.singnet.com.sg \
    --to=fclim@singnet.com.sg \
    --cc=zsh-workers@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).