mkcatdefs.1 (2010 09)

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 message 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 pre-
ceded by their identifiers.
AUTHOR
The
mkcatdefs command was developed by OSF and HP.
SEE ALSO
dspcat(1), dspmsg(1), gencat(1), catclose(3C), catgets(3C), catopen(3C).
6 Hewlett-Packard Company 6 HP-UX 11i Version 3: September 2010