| Click this button to go to the index for this section. |
dspcat(1)
NAME
dspcat - Displays all or part of a message catalogSYNOPSIS
dspcat [-g] catalog_name [set_number[message_number]]OPTIONS
-g 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
catalog_name Specifies a file containing a message catalog. If the file is not in the current directory, dspcat searches for it in the set of directories specified by the NLSPATH environment variable. (For more information about NLSPATH, see catopen(3).) set_number Specifies a set in the catalog. message_number Specifies a particular number in the specified set.DESCRIPTION
The dspcat command, part of the DIGITAL 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 2SEE ALSO
Commands: dspmsg(1), gencat(1), mkcatdefs(1) Functions: catclose(3), catgets(3), catopen(3)