From: Kevin Day
-c
- --content
Print the variable content (default).
+ Print the variable value (aka: content) (default).
+
@@ -246,6 +246,11 @@
-L
--substitute
Substitute the variable for the given name and matching content value with the given string.
+
@@ -278,12 +283,29 @@
The vocabulary and replacement are case-sensitive and must exactly match.
+ -W
+ --wrap
Prepend and append strings for the given name.
+
+ The -W/--wrap
option requires 3 additional parameters: <vocabulary> <before> <after>
.
+
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 -s/--substitute
option takes priority over the -r/--replace
option when matching the same variable.
+ The -W/--wrap
option is ignored when the -s/--substitute
option is matching the same variable.
+
The default behavior is to only display content portion of the IKI variable.