From 13a28e1bbecb2dec97a00b4ccbc638872bf4ea05 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Mon, 31 Oct 2022 17:57:19 -0500 Subject: [PATCH] Update: Add -R/--reassign related documentation. --- documentation/iki_read.html | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/documentation/iki_read.html b/documentation/iki_read.html index 8818c6b..84359ce 100644 --- a/documentation/iki_read.html +++ b/documentation/iki_read.html @@ -234,6 +234,11 @@ Print the total number of variables. + -R + --reassign + Re-assign the variable for the given name and matching content value with the given string. + + -r --replace Simple substitution, replacing the variable for the given name with the given string. @@ -263,7 +268,7 @@

- The -s/--substitute option requires 3 additional parameters: <vocabulary> <replace> <with>. + The -R/--reassign and the -s/--substitute options require 3 additional parameters: <vocabulary> <replace> <with>.

@@ -297,6 +302,9 @@ The difference between -r/--replace and -s/--substitute is that the -r/--replace option substitutes all matching vocabulary names and the -s/--substitute option substitutes all matching vocabulary names that must also have the given matching content.

+ The -R/--reassign option is identical to the -s/--substitute option except that the -w/--wrap option is ignored (not applied). +

+

The -s/--substitute option takes priority over the -r/--replace option when matching the same variable.

-- 1.8.3.1