diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-09-24 08:04:21 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-09-24 08:04:21 -0700 |
commit | ac5337af5c1f49c0e81296fd743fdad516ed2474 (patch) | |
tree | 4e75315165ffea4262160d09a2077ff32eeb2e6f /txr.1 | |
parent | 377a5875a09abed9ee7a64237f666d838f8bbd01 (diff) | |
download | txr-ac5337af5c1f49c0e81296fd743fdad516ed2474.tar.gz txr-ac5337af5c1f49c0e81296fd743fdad516ed2474.tar.bz2 txr-ac5337af5c1f49c0e81296fd743fdad516ed2474.zip |
doc: take advantage of orec in awk example.
* txr.1: POSIX-derived example 1 can be made to
conform to the original with orec.
Diffstat (limited to 'txr.1')
-rw-r--r-- | txr.1 | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -39171,7 +39171,14 @@ utility given in IEEE Std 1003.1, 2013 Edition. Print lines for which field 3 is greater than 5: .cblk + ;; print lines with fields separated by ofs, + ;; and [f 2] converted to integer: (awk ((and [f 2] (fconv - - iz) (> [f 2] 5)))) + + ;; print strictly original lines from orec + (awk ((and [f 2] (fconv - - iz) (> [f 2] 5)) + (prn orec))) + .cble .IP 2. Print every tenth line: |