1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-02 22:11:54 +02:00

27281: Holger Weiss: fix example of global history substitution

This commit is contained in:
Peter Stephenson 2009-09-19 16:23:22 +00:00
parent 2f7f3307fa
commit 4c50a92c00
2 changed files with 7 additions and 2 deletions

View file

@ -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 $
*****************************************************

View file

@ -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(!")'