runcat - Pipes message text source from mkcatdefs to gencat
runcat catalog_name source_file [catalogfile]
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 identifiers. The mkcatdefs program uses the catalog_name
argument to generate 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 program. 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.
To generate a catalog named test.cat from the message
source file test.msg, enter: runcat test test.msg
Commands: dspcat(1), dspmsg(1), gencat(1), mkcatdefs(1)
runcat(1)
[ Back ] |