TIVI-153: Add as dependency for iputils
[profile/ivi/opensp.git] / doc / spcat.htm
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML Strict//EN">
2 <HTML>
3 <HEAD>
4 <TITLE>OSPCAT</TITLE>
5 </HEAD>
6 <BODY>
7 <H1>OSPCAT</H1>
8 <H2>SYNOPSIS</H2>
9 <P>
10 <CODE>ospcat</CODE> [ <CODE>option...</CODE> ] 
11 <H2>DESCRIPTION</H2>
12 <P>
13 Ospcat (SGML print catalog)
14 prints effective system identifiers found in the catalogs 
15 on the standard output. It doesn't check that the system identifiers 
16 correspond to actual files. The return value is 0 if the last system 
17 identifier was successfully created and 1 otherwise. 
18 <H2>OPTIONS</H2>
19 <P>
20 The following options are available:
21 <DL>
22 <DT>
23 <CODE>-C</CODE>,
24 <CODE>--catalogs</CODE>
25 <DT>
26 <CODE>-b<VAR>name</VAR></CODE>,
27 <CODE>--bctf=<VAR>name</VAR></CODE>
28 <DT>
29 <CODE>-f<VAR>file</VAR></CODE>,
30 <CODE>--error-file=<VAR>file</VAR></CODE><BR>
31 <DT>
32 <CODE>-c<VAR>sysid</VAR></CODE>,
33 <CODE>--catalog=<VAR>sysid</VAR></CODE>,
34 <DT>
35 <CODE>-D<VAR>directory</VAR></CODE>,
36 <CODE>--directory=<VAR>directory</VAR></CODE>
37 <DT>
38 <CODE>-R</CODE>,
39 <CODE>--restricted</CODE>
40 <DD>
41 These options have the same effect as in <A HREF="nsgmls.htm">onsgmls</A>.
42 <DT>
43 <CODE>-v</CODE>,
44 <CODE>--version</CODE>
45 <DD>
46 Print the version number.
47 <DT>
48 <CODE>-h</CODE>,
49 <CODE>--help</CODE>
50 <DD>
51 Print a help message and exit.
52 <DT>
53 <CODE>-P<VAR>literal</VAR></CODE>,
54 <CODE>--public-id=<VAR>literal</VAR></CODE>
55 <DD>
56 Print the effective system identifier for the public identifier 
57 <CODE><VAR>literal</VAR></CODE>.
58 <DT>
59 <CODE>-S<VAR>literal</VAR></CODE>,
60 <CODE>-system_id=<VAR>literal</VAR></CODE>
61 <DD>
62 Print the effective system identifier for the system identifier
63 <CODE><VAR>literal</VAR></CODE>.
64 <DT>
65 <CODE>-p<VAR>name</VAR></CODE>,
66 <CODE>--parameter-entity=<VAR>name</VAR></CODE>
67 <DD>
68 Print the effective system identifier for the parameter entity
69 <CODE><VAR>name</VAR></CODE>.
70 <DT>
71 <CODE>-d<VAR>name</VAR></CODE>,
72 <CODE>--doctype=<VAR>name</VAR></CODE>
73 <DD>
74 Print the effective system identifier for the declaration of the 
75 document type <CODE><VAR>name</VAR></CODE>.
76 <DT>
77 <CODE>-l<VAR>name</VAR></CODE>,
78 <CODE>--linktype=<VAR>name</VAR></CODE>
79 <DD>
80 Print the effective system identifier for the declaration of the 
81 link type <CODE><VAR>name</VAR></CODE>.
82 <DT>
83 <CODE>-e<VAR>name</VAR></CODE>,
84 <CODE>--entity=<VAR>name</VAR></CODE>
85 <DD>
86 Print the effective system identifier for the general entity 
87 <CODE><VAR>name</VAR></CODE>.
88 <DT>
89 <CODE>-n<VAR>name</VAR></CODE>,
90 <CODE>--notation=<VAR>name</VAR></CODE>
91 <DD>
92 Print the effective system identifier for the notation
93 <CODE><VAR>name</VAR></CODE>.
94 <DT>
95 <CODE>-s<VAR>name</VAR></CODE>,
96 <CODE>--declaration=<VAR>name</VAR></CODE>
97 <DD>
98 Print the effective system identifier for the SGML declaration
99 associated with the document type <CODE><VAR>name</VAR></CODE>. 
100 This currently ignores <CODE>DTDDECL</CODE> catalog entries and
101 just returns the value of the <CODE>SGMLDECL</CODE> entry.
102 </DL>
103 </BODY>
104 </HTML>