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 | |
parent | 2f7f3307fa29a1af462f516805530ddc5ea95c2a (diff) | |
download | zsh-4c50a92c00eca1b5c84b50836140f367d5771b79.tar.gz zsh-4c50a92c00eca1b5c84b50836140f367d5771b79.tar.xz zsh-4c50a92c00eca1b5c84b50836140f367d5771b79.zip |
27281: Holger Weiss: fix example of global history substitution
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | Doc/Zsh/expn.yo | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index 787346e37..2e031a065 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-09-19 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Holger Weiss: 27281: Doc/Zsh/expn.yo: example of global + history substitution was wrong. + 2009-09-18 Peter Stephenson <pws@csr.com> * Mikael: 27279: Doc/Zsh/builtins.yo, Doc/Zsh/mod_zselect.yo: @@ -12184,5 +12189,5 @@ ***************************************************** * This is used by the shell to define $ZSH_PATCHLEVEL -* $Revision: 1.4781 $ +* $Revision: 1.4782 $ ***************************************************** 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(!")' |