diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-08-03 17:56:04 +0300 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-08-03 18:01:34 +0300 |
commit | c5510d684e4879ab9a5295b4a1981888a4268627 (patch) | |
tree | 328f1b014af9e546976205e5377dcb8ce8c438d9 /doc/htbl.tes | |
parent | 9f6b229b9b10471233f10fdb50e8a70d5d2789cd (diff) | |
download | sciteco-c5510d684e4879ab9a5295b4a1981888a4268627.tar.gz |
simplified the htbl.tes preprocessor and the SUBST_MACRO using new --quiet, --stdin and --stdout options
* htbl.tes now reads from stdin and writes to stdout.
Allows avoiding temporary `*.htbl` files
* grosciteco.tes still cannot be simplified since --stdin cannot be combined with
passing command-line arguments (FIXME).
Diffstat (limited to 'doc/htbl.tes')
-rwxr-xr-x | doc/htbl.tes | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/doc/htbl.tes b/doc/htbl.tes index 9cd5100..19f81a2 100755 --- a/doc/htbl.tes +++ b/doc/htbl.tes @@ -1,11 +1,9 @@ -#!/usr/local/bin/sciteco -m -!* htbl.tes <input> <output> *! +#!/usr/local/bin/sciteco -qiom +!* cat input | htbl.tes >output *! !* Troff tbl "drop-in" replacement *! 0,2EJ !* FIXME: Memory limiting is too slow *! -LR 0X#in 2LR 0X#ou EBN#in EB -EF - < !* * <table> will implicitly close <p>'s so we must recalculate the margin. @@ -112,5 +110,4 @@ q.[drows]< I.HTML </table>^J > -2EL EWQ#ou -EX
\ No newline at end of file +2EL -EX |