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

[PATCH] Fix typo in zshexpn(1)



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