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

dspcat(1)

HP-UX 11i Version 3: February 2007
» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

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 directories 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 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.

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.

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