zsh-users
 help / color / mirror / code / Atom feed
From: The Doctor What <docwhat@gerf.org>
To: zsh-users@sunsite.dk
Subject: ZSH 3.0.8 and modifiers
Date: Thu, 24 Jan 2002 21:53:04 -0600	[thread overview]
Message-ID: <20020124215304.B32699@gerf.org> (raw)

I was hoping someone could help me with this...

I build up a big array of potential directories that might exist in
the array $path.  I then weed out all the ones that don't exist by
doing:

 path=( ${$path}(/N) )

This works great under the newer versions of ZSH (4.0 for example)
as long as NULL_GLOB and RC_EXPAND_PARAM are set (I suppose I don't
need the N with NULL_GLOB, but it's habit. :-)

But under 3.0.8 (on my Darwin/OS X iBook) it produces an array
with the string (/N) appended to each item.  Is there something I'm
missing?

This is the same with (/) instead of (/N) as well.


Ciao!

-- 
"Apparently if you play the Windows NT CD backwards you hear satanic messages."
"You think that's bad, if you play it forwards it installs Windows NT!"
	-- Orlando (on Slashdot)

The Doctor What: Need I say more?                http://docwhat.gerf.org/
docwhat@gerf.org                                                   KF6VNC


             reply	other threads:[~2002-01-25  3:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-25  3:53 The Doctor What [this message]
2002-01-25  8:59 ` 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=20020124215304.B32699@gerf.org \
    --to=docwhat@gerf.org \
    --cc=zsh-users@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).