From d5de2c354ccd3c2a1836963f0366522bc36c04d2 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Fri, 30 Jun 2017 07:15:28 -0700 Subject: 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. --- txr.1 | 39 +++++++++++++++++++-------------------- 1 file 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 -- cgit v1.2.3