Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH] Fix typo in zshexpn(1)
- X-seq: zsh-workers 27281
- From: Holger Weiss <holger@xxxxxxxxxxxxxxxx>
- To: Zsh Workers <zsh-workers@xxxxxxxxxx>
- Subject: [PATCH] Fix typo in zshexpn(1)
- Date: Fri, 18 Sep 2009 23:43:37 +0200
- Mail-followup-to: Zsh Workers <zsh-workers@xxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
The zshexpn(1) manual says that "`^foo^bar:G' performs a global
substitution," this lacks the final `^'.
---
Doc/Zsh/expn.yo | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Doc/Zsh/expn.yo b/Doc/Zsh/expn.yo
index 59b6aeb..2578baf 100644
--- a/Doc/Zsh/expn.yo
+++ b/Doc/Zsh/expn.yo
@@ -117,7 +117,7 @@ repeats the last command, replacing the string var(foo) with var(bar).
More precisely, the sequence `tt(^)var(foo)tt(^)var(bar)tt(^)' is
synonymous with `tt(!!:s)tt(^)var(foo)tt(^)var(bar)tt(^)', hence other
modifiers (see noderef(Modifiers)) may follow the final `tt(^)'.
-In particular, `tt(^)var(foo)tt(^)var(bar)tt(:G)' performs a global
+In particular, `tt(^)var(foo)tt(^)var(bar)tt(^:G)' performs a global
substitution.
If the shell encounters the character sequence `tt(!")'
--
Holger
Messages sorted by:
Reverse Date,
Date,
Thread,
Author