runcat(1) [osf1 man page]
runcat(1) General Commands Manual runcat(1) NAME
runcat - Pipes message text source from mkcatdefs to gencat SYNOPSIS
runcat 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 pro- gram. The file source_file contains the message text with your symbolic identifiers. The mkcatdefs program uses the catalog_name argument to gen- erate 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 func- tion. 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)
Check Out this Related Man Page
dspcat(1) General Commands Manual dspcat(1) NAME
dspcat - Displays all or part of a message catalog SYNOPSIS
dspcat [-g] catalog_name [set_number[message_number]] OPTIONS
Formats the output so that it can be used as input to the gencat command. You cannot use the message_number argument with the -g option. OPERANDS
Specifies a file containing a message catalog. If the file is not in the current directory, dspcat searches for it in the set of directo- ries specified by the NLSPATH environment variable. (For more information about NLSPATH, see catopen(3).) Specifies a set in the catalog. Specifies a particular number in the specified set. DESCRIPTION
The dspcat command, part of the Tru64 UNIX Message Facility, displays a particular message, all of the messages in a set, or all of the messages in a catalog. If you include all three command operands, dspcat displays a particular message. If you do not include message_number, all the messages in the specified set are displayed. If you specify only catalog_name, all the messages in the catalog are displayed. If you specify either an invalid message_number or invalid set_number, an error message is displayed. You must include set_number if you include message_number. EXAMPLES
To display message number 2 in set number 1 of test.cat, enter: dspcat test.cat 1 2 SEE ALSO
Commands: dspmsg(1), gencat(1), mkcatdefs(1) Functions: catclose(3), catgets(3), catopen(3) dspcat(1)