mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-22 16:20:23 +02:00
27281: Holger Weiss: fix example of global history substitution
This commit is contained in:
parent
2f7f3307fa
commit
4c50a92c00
2 changed files with 7 additions and 2 deletions
|
@ -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(!")'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue