Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: glob qualifier to prepend a word



On 9 February 2010 15:30, Peter Stephenson <pws@xxxxxxx> 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



Messages sorted by: Reverse Date, Date, Thread, Author