summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2020-12-29 20:03:03 -0800
committerKaz Kylheku <kaz@kylheku.com>2020-12-29 20:03:03 -0800
commita24a7da08b3caba01a47e84974fb6efe928594bc (patch)
tree6a493dfc9ef97ee2190f02a71f3b07bbee7f0073
parent8be14e38da4b6290ddafd3054cc550af96b6a941 (diff)
downloadtxr-a24a7da08b3caba01a47e84974fb6efe928594bc.tar.gz
txr-a24a7da08b3caba01a47e84974fb6efe928594bc.tar.bz2
txr-a24a7da08b3caba01a47e84974fb6efe928594bc.zip
doc: note for awk macro fconv.
* txr.1: Add usage note to the fconv macro.
-rw-r--r--txr.111
1 files changed, 11 insertions, 0 deletions
diff --git a/txr.1 b/txr.1
index 1829471c..8f9260d4 100644
--- a/txr.1
+++ b/txr.1
@@ -58388,6 +58388,17 @@ The return value of
is
.codn f .
+Note: because
+.code f
+is
+.code nil
+when no fields have been extracted, a
+.code fconv
+expression can be used as the condition in an
+.code awk
+clause which triggers the action if one or more fields have been
+extracted, and performs conversions on them.
+
.TP* Examples:
.verb