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

Re: PATCH: Re: Shell-word splitting (was: Re: Proposed _history completer)



> Index: Doc/Zsh/expn.yo
> +Note that this is done very lately, as for the `tt((s))' flag. So to
> +access single words in the result, one has to use nested expansions as 
> +in `tt(${${(z)foo}[2]}'.

Index: Doc/Zsh/expn.yo
===================================================================
RCS file: /cvsroot/zsh/zsh/Doc/Zsh/expn.yo,v
retrieving revision 1.9
diff -u -r1.9 expn.yo
--- Doc/Zsh/expn.yo     2000/05/03 13:05:40     1.9
+++ Doc/Zsh/expn.yo     2000/05/03 15:05:06
@@ -680,9 +680,9 @@
 Split the result of the expansion into words using shell parsing to
 find the words, i.e. taking into account any quoting in the value.
 
-Note that this is done very lately, as for the `tt((s))' flag. So to
+Note that this is done very late, as for the `tt((s))' flag. So to
 access single words in the result, one has to use nested expansions as 
-in `tt(${${(z)foo}[2]}'. Likewise, to remove the quotes in the
+in `tt(${${(z)foo}[2]})'. Likewise, to remove the quotes in the
 resulting words one would do: `tt(${(Q)${(z)foo}})'.
 )
 item(tt(t))(

-- 
Peter Stephenson <pws@xxxxxxxxxxxxxxxxxxxxxxxxx>
Cambridge Silicon Radio, Unit 300, Science Park, Milton Road,
Cambridge, CB4 0XL, UK                          Tel: +44 (0)1223 392070



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