Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference > D


HP-UX 11i Version 3: February 2007

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index


dspcat — display all or part of a message catalog


dspcat [-g] catalog_name [set_number [message_number]]


The dspcat command 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.


The dspcat command recognizes the following option:


Formats the output so that it can be used as input to the gencat command. You cannot use the message_number operand with the -g option.


The dspcat command recognizes the following operands:


Specifies a file containing a message catalog. If the file is not in the set of directories specified by the NLSPATH environment variable, dspcat searches for it in the current directory. (For more information about NLSPATH, see environ(5).)


Specifies a set in the catalog.


Specifies a particular number in the specified set.


Environment Variables

LANG provides a default value for the internationalization variables that are unset or null. If LANG is unset or null, it defaults to C (see lang(5)).

LC_ALL, when set to a non-empty string value, overrides the values of all other internationalization variables.

LC_MESSAGES determines the language in which messages are displayed.

NLSPATH determines the path to be used for searching the specified message catalog file. It affects how the internationalization variables are used in locating the desired message catalog.


To display message number 2 in set number 1 of test.cat, enter:

dspcat test.cat 1 2


The dspcat command was developed by OSF and HP.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2007 Hewlett-Packard Development Company, L.P.