From: DervishD <raul@pleyades.net>
To: Peter Stephenson <pws@csr.com>
Cc: Zsh <zsh-workers@sunsite.dk>
Subject: Re: Problem with an exported array
Date: Mon, 22 Sep 2003 16:04:30 +0200 [thread overview]
Message-ID: <20030922140430.GA2215@DervishD> (raw)
In-Reply-To: <8001.1064238241@csr.com>
Hi Peter :)
* Peter Stephenson <pws@csr.com> dixit:
> > I think that the most used case will be joining with spaces,
> > maybe the colon (PATH and the like).
> This gives me an idea... it looks like a minimal modification to the
> user version of the PATH stuff can give you a combination where pager is
> an array and PAGER is a scalar with the elements joined by spaces.
Cool, since my idea of tieing both variables won't work because
the joining character is a colon and not an space :(((
> The only downside I can see is that you have to remember to use $pager,
> not $PAGER, when you want the array.
Not a problem, since I already do this with PATH and path, for
example. In fact is a pro, because I do that automatically ;)
> If this isn't going to be good enough, or someone can see a problem, say
> now, since I don't want to clutter the parameter code more than is
> necessary. However, if it's useful it seems a relatively clean change
> compared with most of the typeset flummery.
For me it is right, but I must confess I have interest in it ;)))
Although I cannot use that with my current zsh version, it doesn't
matter really since I don't modify the variables (on normal use, I
mean), and I can set both variables by hand in my /etc/zshenv. But
I'm ready for a new Zsh version ;))))
Raúl Núñez de Arenas Coronado
--
Linux Registered User 88736
http://www.pleyades.net & http://raul.pleyades.net/
next prev parent reply other threads:[~2003-09-22 14:02 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-22 8:30 DervishD
2003-09-22 9:08 ` Oliver Kiddle
2003-09-22 9:31 ` DervishD
2003-09-22 9:48 ` Peter Stephenson
2003-09-22 11:33 ` DervishD
2003-09-22 13:44 ` Peter Stephenson
2003-09-22 14:04 ` DervishD [this message]
2003-09-22 14:22 ` Bart Schaefer
2003-09-22 14:45 ` Danek Duvall
2003-09-22 16:30 ` DervishD
2003-09-22 17:58 ` Bart Schaefer
2003-09-22 18:06 ` Danek Duvall
2003-09-22 15:52 ` Peter Stephenson
2003-09-22 17:44 ` DervishD
2003-09-22 18:03 ` Bart Schaefer
2003-09-23 7:52 ` DervishD
2003-09-22 19:28 ` Wayne Davison
2003-09-23 9:44 ` Peter Stephenson
2003-09-23 7:57 ` Oliver Kiddle
2003-09-23 16:02 ` Peter Stephenson
2003-09-24 13:09 ` DervishD
2003-09-22 16:33 ` DervishD
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=20030922140430.GA2215@DervishD \
--to=raul@pleyades.net \
--cc=pws@csr.com \
--cc=zsh-workers@sunsite.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).