insertmsg(1)insertmsg(1)NAMEinsertmsg - use findstr(1) output to insert calls to catgets(3C)SYNOPSIS
stringlist
DESCRIPTION
examines the file stringlist, which is assumed to be the output of
after subsequent editing to remove any strings that do not need to be
localized (see findstr(1)). If the option is specified, places the
following lines at the beginning of each file named in stringlist:
where number is a set number defined by the option; the default is For
each string in stringlist, surrounds the string in the corresponding
file with an expression of the form:
The default string is the original string referenced by the line in
stringlist, and msg_num is replaced by the message number assigned to
that string. The assigned message numbers begin with the number
defined by the option and are incremented by the amount defined by the
option. The default is for both the starting message number and the
increment. If is the file to be modified, as specified within the
stringlist file, insertmsg places the modified source in The user must
then manually edit the file to insert the following statements:
The data type is defined in and is a parameter to the calls to catgets,
which are inserted for each string from stringlist.
also sends to the standard output a file that can be used as input to
(see gencat(1)).
EXTERNAL INFLUENCES
Environment Variables
determines the interpretation of text as single- and/or multi-byte
characters.
determines the language in which messages are displayed.
If or is not specified in the environment or is set to the empty
string, the value of is used as a default for each unspecified or empty
variable. If is not specified or is set to the empty string, a default
of "C" (see lang(5)) is used instead of If any internationalization
variable contains an invalid setting, behaves as if all international‐
ization variables are set to "C". See environ(5).
International Code Set Support
Single- and multi-byte character code sets are supported.
DIAGNOSTICS
If does not find opening or closing double quotes where required in the
strings file, it prints and aborts. If this happens, check the strings
file to ensure that the lines that have been kept there have not been
altered.
WARNINGS
If the option is not used, it may be necessary to manually add the fol‐
lowing statement to the file created by
inserts a pointer to a static area that is overwritten on each call.
The command is HP proprietary, not portable to other vendors' systems,
and will not be provided in future HP-UX releases.
AUTHOR
was developed by HP.
SEE ALSOfindstr(1), gencat(1), catgets(3C), catopen(3C).
insertmsg(1)