From: "Bart Schaefer" <schaefer@candle.brasslantern.com>
To: Peter Stephenson <pws@ifh.de>,
zsh-workers@sunsite.auc.dk (Zsh hackers list)
Subject: Re: PATCH: 3.1.6-pws-2: globbing documentation
Date: Fri, 3 Sep 1999 15:01:05 +0000 [thread overview]
Message-ID: <990903150105.ZM26321@candle.brasslantern.com> (raw)
In-Reply-To: <199909031443.QAA168553@hydra.ifh.de>
On Sep 3, 4:43pm, Peter Stephenson wrote:
} Subject: PATCH: 3.1.6-pws-2: globbing documentation
}
} This clarifies the globbing documentation in ways which should be
} familiar from recent discussions. Please look at it and say if you
} think that it has the opposite effect.
Well ...
} +Note that grouping cannot extend over multiple directories: it is an error
} +to have a `tt(/)' within a group (this only applies for patterns which
} +match filenames).
I'd change "which match filenames" to "used in filename generation". If
I do
for file in /etc/host* ; do ...; done
I tend to think of $file as "a filename" inside the loop body, but I can
still use [[ $file = (*/)# ]] without getting "bad pattern."
Then down here:
} +As a shorthand, `tt(**/)' is equivalent to `tt((*/)#)'; note that this
} +therefore matches files in the current directory as well as
} +subdirectories.
Wait, we just said that (*/)# was not a legal pattern! How can **/ be a
shorthand for it? What we really mean (now) is that ** is a _replacement_
(or "alternative" or some such word) for (*/)#, right?
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
next prev parent reply other threads:[~1999-09-03 15:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-09-03 14:43 Peter Stephenson
1999-09-03 15:01 ` Bart Schaefer [this message]
1999-09-03 15:51 ` Peter Stephenson
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=990903150105.ZM26321@candle.brasslantern.com \
--to=schaefer@candle.brasslantern.com \
--cc=pws@ifh.de \
--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).