diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2009-09-19 16:23:22 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2009-09-19 16:23:22 +0000 |
commit | 4c50a92c00eca1b5c84b50836140f367d5771b79 (patch) | |
tree | b729425698b3a6769e02c4c2b9a18831eafc3d44 /Doc/Zsh/expn.yo | |
parent | 2f7f3307fa29a1af462f516805530ddc5ea95c2a (diff) | |
download | zsh-4c50a92c00eca1b5c84b50836140f367d5771b79.tar.gz zsh-4c50a92c00eca1b5c84b50836140f367d5771b79.tar.xz zsh-4c50a92c00eca1b5c84b50836140f367d5771b79.zip |
27281: Holger Weiss: fix example of global history substitution
Diffstat (limited to 'Doc/Zsh/expn.yo')
-rw-r--r-- | 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 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(!")' |