zsh-workers
 help / color / mirror / code / Atom feed
From: Bruce Stephens <b.stephens@isode.com>
To: zsh-workers@sunsite.auc.dk (Zsh hackers list)
Subject: Re: PATCH: zsh-3.1.5-pws-5 + recent: typeset -T MYPATH mypath  (finally!)
Date: 28 Jan 1999 17:53:11 +0000	[thread overview]
Message-ID: <vbbtjji8s8.fsf@snake.isode.com> (raw)
In-Reply-To: Peter Stephenson's message of "Thu, 28 Jan 1999 18:25:39 +0100"

Peter Stephenson <pws@ibmth.df.unipi.it> writes:

> Now I've tidied up bin_typeset() a bit, it's finally possible to make
> user-tiable path-like variables without the onset of suicidal
> feelings.  This has been requested for several years.  Maybe there's not
> even anyone left who wants it --- word splitting and joining has
> improved quite a lot since then.  The syntax is
>   typeset -T TEXINPUTS texinputs
> where the scalar has to come first, but there is no restriction on the
> names.

I think the issue was mostly with typeset -U.  Looking at the
description of -U, it suggests that it ought to work for
colon-separated things like PATH anyway.  Hmm...  No, it doesn't work
for random variables, only for special ones.

So, this patch *is* still worthwhile.  It ought to allow me to create
new colon-separated variables, and have the shell eliminate
duplicates.  Of course, what we really want is programmable setting
and reading of variables, like ksh93 has.


  reply	other threads:[~1999-01-28 17:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-01-28 17:25 Peter Stephenson
1999-01-28 17:53 ` Bruce Stephens [this message]
1999-01-29 16:56 ` Bart Schaefer

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=vbbtjji8s8.fsf@snake.isode.com \
    --to=b.stephens@isode.com \
    --cc=zsh-workers@sunsite.auc.dk \
    /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).