1SGMLPRE(1) General Commands Manual SGMLPRE(1)
2
3
4
6 sgmlpre - handle SGML conditionalization for SGML-tools
7
9 sgmlpre [options] ...
10
12 This manual page documents briefly the sgmlpre commands. This manual
13 page was written for the Debian GNU/Linux distribution because the
14 original program does not have a manual page for sgmlpre.
15
16 sgmlpre is a program that handle SGML conditionalization for SGML-tools
17
18 It is used by other programs in sgml-tools (v1), and usually normal
19 user does not need to use this program directly by himself.
20
21 Following is quoted from the header in the source code.
22
23 (Begin Quotes)
24
25 sgmlpre -- handle SGML conditionalization for SGML-tools by Eric
26 S. Raymond <esr@thyrsus.com>, 3 Nov 1997
27
28 Filter SGML according to conditionalizing markup. Argu‐
29 ment/value pairs from the command line are matched against the
30 attributes of <#if> and <#unless> tags. Spans between
31 <#if>/</#if> are passed through unaltered if there is no
32 attribute mismatch; spans between <#unless></#unless> are passed
33 if there is at least one attribute mismatch. An attribute mis‐
34 match happens if an attribute occurs in both the command-line
35 arguments and the tag, but the values do not match. Value
36 matching is by string equality, except that "|" is interpreted
37 as an alternation character. Even if a span is not passed
38 through, its newlines are (this to avoid messing up the line
39 numbers in error messages).
40
41 This lexer requires flex. Limitations; attribute names may only
42 be 256 chars long, values may be only 16384 (YY_BUF_SIZE) char‐
43 acters long. Doesn't do checking that only </if> matches <if>
44 and </unless> matches <unless> (that would need a stack and
45 introduce another limit).
46
47 (End Quotes)
48
49
51 The program does not support normal command line options.
52
54 For a complete description, see the header in the source archive.
55
57 sgmlpre was written by Eric S. Raymond <esr@thyrsus.com>, 3 Nov 1997.
58
59 This manual page was written by Taketoshi Sano <sano@debian.org>, for
60 the Debian GNU/Linux system (but may be used by others).
61
62
63
64 SGMLPRE(1)