From: Mikael Magnusson <mikachu@gmail.com>
To: Peter Stephenson <pws@csr.com>
Cc: Zsh hackers list <zsh-workers@zsh.org>
Subject: Re: PATCH: glob qualifier to prepend a word
Date: Tue, 9 Feb 2010 21:43:21 +0100 [thread overview]
Message-ID: <237967ef1002091243i7752b957w77bc14bfb2cb5be9@mail.gmail.com> (raw)
In-Reply-To: <6084.1265725808@csr.com>
On 9 February 2010 15:30, Peter Stephenson <pws@csr.com> wrote:
> Done properly, this time; fairly small and localised change so it looks
> worth having.
> Index: Doc/Zsh/expn.yo
> ===================================================================
> RCS file: /cvsroot/zsh/zsh/Doc/Zsh/expn.yo,v
> retrieving revision 1.107
> diff -u -r1.107 expn.yo
> --- Doc/Zsh/expn.yo 19 Sep 2009 16:23:22 -0000 1.107
> +++ Doc/Zsh/expn.yo 9 Feb 2010 14:27:08 -0000
> @@ -2296,6 +2296,18 @@
> them count from the last match backward. E.g.: `tt(*(-OL[1,3]))'
> gives a list of the names of the three largest files.
> )
> +item(tt(P))(var(string))(
This fixes Pstring to look like estring does for me:
--- a/Doc/Zsh/expn.yo
+++ b/Doc/Zsh/expn.yo
@@ -2296,7 +2296,7 @@
them count from the last match backward. E.g.: `tt(*(-OL[1,3]))'
gives a list of the names of the three largest files.
)
-item(tt(P))(var(string))(
+item(tt(P)var(string))(
The var(string) will be prepended to each glob match as a separate
word. var(string) is delimited in the same way as arguments to the
tt(e) glob qualifier described above. The qualifier can be repeated;
--
Mikael Magnusson
prev parent reply other threads:[~2010-02-09 20:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-09 14:30 Peter Stephenson
2010-02-09 15:56 ` Bart Schaefer
2010-02-09 17:16 ` Mikael Magnusson
2010-02-09 17:21 ` Peter Stephenson
2010-02-09 20:25 ` Michael Hwang
2010-02-09 20:43 ` Mikael Magnusson [this message]
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=237967ef1002091243i7752b957w77bc14bfb2cb5be9@mail.gmail.com \
--to=mikachu@gmail.com \
--cc=pws@csr.com \
--cc=zsh-workers@zsh.org \
/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).