From 4c50a92c00eca1b5c84b50836140f367d5771b79 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Sat, 19 Sep 2009 16:23:22 +0000 Subject: 27281: Holger Weiss: fix example of global history substitution --- Doc/Zsh/expn.yo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Doc/Zsh') diff --git a/Doc/Zsh/expn.yo b/Doc/Zsh/expn.yo index 59b6aeb87..2578baff4 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(!")' -- cgit 1.4.1