1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML Strict//EN">
10 <CODE>ospcat</CODE> [ <CODE>option...</CODE> ]
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.
20 The following options are available:
24 <CODE>--catalogs</CODE>
26 <CODE>-b<VAR>name</VAR></CODE>,
27 <CODE>--bctf=<VAR>name</VAR></CODE>
29 <CODE>-f<VAR>file</VAR></CODE>,
30 <CODE>--error-file=<VAR>file</VAR></CODE><BR>
32 <CODE>-c<VAR>sysid</VAR></CODE>,
33 <CODE>--catalog=<VAR>sysid</VAR></CODE>,
35 <CODE>-D<VAR>directory</VAR></CODE>,
36 <CODE>--directory=<VAR>directory</VAR></CODE>
39 <CODE>--restricted</CODE>
41 These options have the same effect as in <A HREF="nsgmls.htm">onsgmls</A>.
44 <CODE>--version</CODE>
46 Print the version number.
51 Print a help message and exit.
53 <CODE>-P<VAR>literal</VAR></CODE>,
54 <CODE>--public-id=<VAR>literal</VAR></CODE>
56 Print the effective system identifier for the public identifier
57 <CODE><VAR>literal</VAR></CODE>.
59 <CODE>-S<VAR>literal</VAR></CODE>,
60 <CODE>-system_id=<VAR>literal</VAR></CODE>
62 Print the effective system identifier for the system identifier
63 <CODE><VAR>literal</VAR></CODE>.
65 <CODE>-p<VAR>name</VAR></CODE>,
66 <CODE>--parameter-entity=<VAR>name</VAR></CODE>
68 Print the effective system identifier for the parameter entity
69 <CODE><VAR>name</VAR></CODE>.
71 <CODE>-d<VAR>name</VAR></CODE>,
72 <CODE>--doctype=<VAR>name</VAR></CODE>
74 Print the effective system identifier for the declaration of the
75 document type <CODE><VAR>name</VAR></CODE>.
77 <CODE>-l<VAR>name</VAR></CODE>,
78 <CODE>--linktype=<VAR>name</VAR></CODE>
80 Print the effective system identifier for the declaration of the
81 link type <CODE><VAR>name</VAR></CODE>.
83 <CODE>-e<VAR>name</VAR></CODE>,
84 <CODE>--entity=<VAR>name</VAR></CODE>
86 Print the effective system identifier for the general entity
87 <CODE><VAR>name</VAR></CODE>.
89 <CODE>-n<VAR>name</VAR></CODE>,
90 <CODE>--notation=<VAR>name</VAR></CODE>
92 Print the effective system identifier for the notation
93 <CODE><VAR>name</VAR></CODE>.
95 <CODE>-s<VAR>name</VAR></CODE>,
96 <CODE>--declaration=<VAR>name</VAR></CODE>
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.