dspcat.1 (2010 09)

d
dspcat(1) dspcat(1)
NAME
dspcat - display all or part of a message catalog
SYNOPSIS
dspcat [-g] catalog_name [set_number [message_number]]
DESCRIPTION
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.
Options
The
dspcat command recognizes the following option:
-g 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.
Operands
The
dspcat command recognizes the following operands:
catalog_name Specifies a file containing a message catalog. If the file is not in the set of direc-
tories specified by the
NLSPATH environment variable, dspcat searches for it in
the current directory. (For more information about NLSPATH, see environ (5).)
set_number Specifies a set in the catalog.
message_number
Specifies a particular number in the specified set.
EXTERNAL INFLUENCES
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 vari-
ables.
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.
EXAMPLES
To display message number 2 in set number 1 of test.cat, enter:
dspcat test.cat 1 2
AUTHOR
The dspcat command was developed by OSF and HP.
SEE ALSO
dspmsg(1), gencat(1), mkcatdefs(1), catclose(3C), catgets(3C), catopen(3C).
HP-UX 11i Version 3: September 2010 1 Hewlett-Packard Company 1

Summary of content (2 pages)