1man(1)                      General Commands Manual                     man(1)
2
3
4

NAME

6       incl - expand included HTML or XML files
7

SYNOPSIS

9       incl [ -x ] [ -b base ] [ file-or-URL ]
10

DESCRIPTION

12       The incl command copies an HTML or XML file to standard output, looking
13       for comments with a certain structure.  Such an comment is replaced  by
14       the  file  whose  name  is given as the atrribute of the directive. For
15       example:
16
17            ...<!-- include "foo.html" -->...
18
19       will be replaced by the content of the file foo.html.  It is  important
20       to note that you must quote filenames if they contain whitespace.
21

OPTIONS

23       The following options are supported:
24
25       -x        Use  XML conventions: empty elements are written with a slash
26                 at the end: <IMG /> Also causes the  name  of  the  attribute
27                 (see option -a) to become case-sensitive.
28
29       -b base   Sets the base URL for resolving relative URLs. By default the
30                 file given as argument is the base URL.
31

OPERANDS

33       The following operand is supported:
34
35       file-or-URL
36                 The name of an HTML or XML file or the URL of one. If absent,
37                 standard input is read instead.
38

EXIT STATUS

40       The following exit values are returned:
41
42       0         Successful completion.
43
44       >0        An  error  occurred  in the parsing of one of the HTML or XML
45                 files.
46

SEE ALSO

48       xml2asc(1), UTF-8  (RFC  2279),  normalize(1),  num(1),  toc(1),  html‐
49       prune(1).  unent(1) asc2xml(1)
50

BUGS

52       Assumes UTF-8 as input. Doesn't expand character entities. Instead pipe
53       the input through unent(1) and asc2xml(1) to convert it to UTF-8.
54
55
56
57                                  18 Mar 2000                           man(1)
Impressum