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

unposted: minor doc tweak for regexp-replace

This commit is contained in:
Peter Stephenson 2010-02-02 14:56:39 +00:00
parent 2ff698ce1d
commit 35b74bc0b9
2 changed files with 6 additions and 1 deletions

View file

@ -1,5 +1,8 @@
2010-02-02 Peter Stephenson <pws@csr.com> 2010-02-02 Peter Stephenson <pws@csr.com>
* unposted: Doc/Zsh/contrib.yo: minor doc upgrade for
regexp-replace.
* based on Andrei, 27644: Config/installfns.zsh: check for * based on Andrei, 27644: Config/installfns.zsh: check for
#! line without a fork. #! line without a fork.
@ -12662,5 +12665,5 @@
***************************************************** *****************************************************
* This is used by the shell to define $ZSH_PATCHLEVEL * This is used by the shell to define $ZSH_PATCHLEVEL
* $Revision: 1.4878 $ * $Revision: 1.4879 $
***************************************************** *****************************************************

View file

@ -2598,6 +2598,8 @@ var(regexp) is the regular expression to match against the string.
var(replace) is the replacement text. This can contain parameter, command var(replace) is the replacement text. This can contain parameter, command
and arithmetic expressions which will be replaced: in particular, a and arithmetic expressions which will be replaced: in particular, a
reference to tt($MATCH) will be replaced by the text matched by the pattern. reference to tt($MATCH) will be replaced by the text matched by the pattern.
The return status is 0 if at least one match was performed, else 1.
) )
findex(run-help) findex(run-help)
item(tt(run-help) var(cmd))( item(tt(run-help) var(cmd))(