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)
Check Out this Related Man Page
dspcat(1) General Commands Manual dspcat(1)NAME
dspcat - display all or part of a message catalog
SYNOPSIS
catalog_name [set_number [message_number]]
DESCRIPTION
The 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, 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 command recognizes the following option:
Formats the output so that it can be used as input to the
command. You cannot use the message_number operand with the option.
Operands
The 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 envi-
ronment variable, searches for it in the current directory. (For more information about 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
provides a default value for the internationalization variables that are unset or null. If is unset or null, it defaults to (see lang(5)).
when set to a non-empty string value, overrides the values of all other internationalization variables.
determines the language in which messages are displayed.
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:
AUTHOR
The command was developed by OSF and HP.
SEE ALSO dspmsg(1), gencat(1), mkcatdefs(1), catclose(3C), catgets(3C), catopen(3C).
dspcat(1)
Is it possible to sh a command and receive the standard output on the scrren and use file redirection ie ls -lt > test. Also On SCO-UNIX there was a tellme command which displayed a message when a script had finished running is there something similar for HP UNIX as it is not working. (4 Replies)
i'm supposed to come up with a script that
-accepts a directory as an optional command line parameter
-clears the screen
-displays an error message and terminates if more than one parameter is provided
-use the current directory if no parameter is provided
-display an error message... (1 Reply)
my system get rebooted by its self after its came up i try to check the error log
P690/>errpt | more
Cannot open error message catalog /usr/lib/nls/msg/en_US/codepoint.cat.
The error report will still run, but it will not have explanatory messages
P690/>ls -lrt... (1 Reply)