summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2017-06-30 07:15:28 -0700
committerKaz Kylheku <kaz@kylheku.com>2017-06-30 07:15:28 -0700
commitd5de2c354ccd3c2a1836963f0366522bc36c04d2 (patch)
tree8725daa11377f6ca3a74cccc36c51fa3912db7d2
parentbefa483d6f210f3b22af606dcf665502f1a132a0 (diff)
downloadtxr-d5de2c354ccd3c2a1836963f0366522bc36c04d2.tar.gz
txr-d5de2c354ccd3c2a1836963f0366522bc36c04d2.tar.bz2
txr-d5de2c354ccd3c2a1836963f0366522bc36c04d2.zip
doc: formatting of table in awk section.
* txr.1: The table showing fixed-width delimiting examples doesn't use the right font and doesn't look good in HTML or PDF. Let's replace it with just a plain verbatim block, and clarify the leading text also.
-rw-r--r--txr.139
1 files changed, 19 insertions, 20 deletions
diff --git a/txr.1 b/txr.1
index d6fbe21e..14eda774 100644
--- a/txr.1
+++ b/txr.1
@@ -45544,27 +45544,26 @@ or else a list of non-negative integers, the behavior is unspecified.
.TP* Examples
-The following table shows examples of delimiting for
-various combinations of
+The following table shows how various combinations of the
+value the input record
+.code rec
+and field widths in the variable
.code fw
-and input record
-.codn rec :
-
-.cblk
-.TS
-tab(!);
-l l l.
-rec!fw!f
-"abc"!(0)!("" "abc")
-"abc"!(2)!("ab" "c")
-"abc"!(1 2)!("a" "bc")
-"abc"!(1 3)!("a" "bc")
-"abc"!(1 1)!("a" "b" "c")
-"abc"!(3)!("abc")
-"abc"!(4)!("abc")
-""!(4)!nil
-""!(0)!nil
-.TE
+give rise to field values
+.codn f :
+
+.cblk
+ rec fw f
+ ---------------------------------
+ "abc" (0) ("" "abc")
+ "abc" (2) ("ab" "c")
+ "abc" (1 2) ("a" "bc")
+ "abc" (1 3) ("a" "bc")
+ "abc" (1 1) ("a" "b" "c")
+ "abc" (3) ("abc")
+ "abc" (4) ("abc")
+ "" (4) nil
+ "" (0) nil
.cble
.coNP Variable @ ofs