HP-UX Reference (11i v3 07/02) - 1 User Commands A-M (vol 1)
m
mkcatdefs(1) mkcatdefs(1)
.
.
dspmsg -s 1 PFF.cat 1 "${DEF_GREET}"
.
.
.
The dspmsg command in this script displays the message string:
% ./test_dspmsg.sh
Welcome to the Product Fact Finder program!
A default message string is typically English text, whereas a translated message is displayed if a translated
version of the catalog is available for the locale. The advantage of using symbols for default message
strings is to ensure that only one copy of the original message strings needs to be maintained. When mes-
sage strings must be maintained both in message source files, in calls to
catgets(), and in dspmsg
commands, inconsistencies are likely to develop between different instances of what is intended to be the
same string.
A message can be displayed as the message string alone or as the message string preceded by its message
identifier. See dspmsg(1) for examples of using the dspmsg command to display message strings preceded
by their identifiers.
AUTHOR
mkcatdefs was developed by OSF and HP.
SEE ALSO
dspcat(1), dspmsg(1), gencat(1), catclose(3C), catgets(3C), catopen(3C).
HP-UX 11i Version 3: February 2007 − 6 − Hewlett-Packard Company 661