From: Peter Stephenson <pws@cambridgesiliconradio.com>
To: zsh-workers@sunsite.auc.dk (Zsh hackers list)
Subject: Re: PATCH: Re: Shell-word splitting (was: Re: Proposed _history completer)
Date: Wed, 03 May 2000 16:06:29 +0100 [thread overview]
Message-ID: <0FTZ00L7QOMSNF@la-la.cambridgesiliconradio.com> (raw)
In-Reply-To: "Your message of Wed, 03 May 2000 15:03:55 +0200." <200005031303.PAA02427@beta.informatik.hu-berlin.de>
> 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@cambridgesiliconradio.com>
Cambridge Silicon Radio, Unit 300, Science Park, Milton Road,
Cambridge, CB4 0XL, UK Tel: +44 (0)1223 392070
next prev parent reply other threads:[~2000-05-03 15:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-05-03 13:03 Sven Wischnowsky
2000-05-03 15:06 ` Peter Stephenson [this message]
-- strict thread matches above, loose matches on Subject: below --
2000-05-03 12:20 Sven Wischnowsky
2000-05-03 12:38 ` Andrej Borsenkow
2000-05-03 12:54 ` 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=0FTZ00L7QOMSNF@la-la.cambridgesiliconradio.com \
--to=pws@cambridgesiliconradio.com \
--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).