diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2010-02-02 14:56:39 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2010-02-02 14:56:39 +0000 |
commit | 35b74bc0b98786e5c3037ccc97a9ae5aad0d2eeb (patch) | |
tree | 6416cfed43d8a3d5df31c9dc3b4960eeebd109af | |
parent | 2ff698ce1d4f792388e320bfba0b07779eba1b4f (diff) | |
download | zsh-35b74bc0b98786e5c3037ccc97a9ae5aad0d2eeb.tar.gz zsh-35b74bc0b98786e5c3037ccc97a9ae5aad0d2eeb.tar.xz zsh-35b74bc0b98786e5c3037ccc97a9ae5aad0d2eeb.zip |
unposted: minor doc tweak for regexp-replace
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Doc/Zsh/contrib.yo | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 53690b5e3..e756f56e7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 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 #! line without a fork. @@ -12662,5 +12665,5 @@ ***************************************************** * This is used by the shell to define $ZSH_PATCHLEVEL -* $Revision: 1.4878 $ +* $Revision: 1.4879 $ ***************************************************** diff --git a/Doc/Zsh/contrib.yo b/Doc/Zsh/contrib.yo index 54dbd74dc..b815e0112 100644 --- a/Doc/Zsh/contrib.yo +++ b/Doc/Zsh/contrib.yo @@ -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 and arithmetic expressions which will be replaced: in particular, a 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) item(tt(run-help) var(cmd))( |