summaryrefslogtreecommitdiff
path: root/doc/usage/cmd/setexpr.rst
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2024-04-02 07:03:25 -0400
committerTom Rini <trini@konsulko.com>2024-04-02 07:03:25 -0400
commitd312d9831f25a8e70d64df46fb2fe9aab2e8c939 (patch)
tree9afa8b258222e66221f8239d8ad51372d63c5ac3 /doc/usage/cmd/setexpr.rst
parent25049ad560826f7dc1c4740883b0016014a59789 (diff)
parentbc39e06778168a34bb4e0a34fbee4edbde4414d8 (diff)
Merge branch 'next'
Merge in all changes from the next branch now that the release is out.
Diffstat (limited to 'doc/usage/cmd/setexpr.rst')
-rw-r--r--doc/usage/cmd/setexpr.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/usage/cmd/setexpr.rst b/doc/usage/cmd/setexpr.rst
index d245a13ca88..593a0ea91e1 100644
--- a/doc/usage/cmd/setexpr.rst
+++ b/doc/usage/cmd/setexpr.rst
@@ -39,6 +39,7 @@ setexpr name gsub <r> <s> [<t>]
string <t>, substitute the string <s>.
The result is assigned to <name>.
If <t> is not supplied, use the old value of <name>.
+ If no substring matching <r> is found in <t>, assign <t> to <name>.
setexpr name sub <r> <s> [<t>]
Just like gsub(), but replace only the first matching substring