summaryrefslogtreecommitdiffstats
path: root/txr.1
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
commit5b1896c4098f71da3eeb88b8f45adaa10c3f0f5d (patch)
tree6a493dfc9ef97ee2190f02a71f3b07bbee7f0073 /txr.1
parentbf5b3bd17aacef7ddb064fe57e4c9d77664f4f9f (diff)
downloadtxr-5b1896c4098f71da3eeb88b8f45adaa10c3f0f5d.tar.gz
txr-5b1896c4098f71da3eeb88b8f45adaa10c3f0f5d.tar.bz2
txr-5b1896c4098f71da3eeb88b8f45adaa10c3f0f5d.zip
doc: note for awk macro fconv.
* txr.1: Add usage note to the fconv macro.
Diffstat (limited to 'txr.1')
-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