runcat(1)runcat(1)NAMEruncat - Pipes message text source from mkcatdefs to gencat
SYNOPSISruncat catalog_name source_file [catalogfile]
DESCRIPTION
The runcat command invokes the mkcatdefs command and pipes the message
catalog source data (the output from mkcatdefs) to the gencat program.
The file source_file contains the message text with your symbolic iden‐
tifiers. The mkcatdefs program uses the catalog_name argument to gener‐
ate the name of the symbolic definition file by adding _msg.h to the
end of the catalog_name value, and to generate the symbolic name for
the catalog file by adding MF_ to the beginning of the catalog_name
value. The definition file must be included in your application pro‐
gram. The symbolic name for the catalog file can be used in the library
functions (such as the catopen function).
The catalogfile argument is the name of the catalog file created by the
gencat command. If you do not specify this argument, the gencat command
names the catalog file by adding to the end of the catalog_name value.
This filename can also be used in the catopen library function.
EXAMPLES
To generate a catalog named test.cat from the message source file
test.msg, enter: runcat test test.msg
SEE ALSO
Commands: dspcat(1), dspmsg(1), gencat(1), mkcatdefs(1)runcat(1)