dumpmsg(1) dumpmsg(1)
NAME
dumpmsg - generate a message source file from a message catalog (dump
message)
SYNOPSIS
dumpmsg [-C] catfile msgfile
DESCRIPTION
dumpmsg reads a binary coded message catalog from a file or from stan-
dard input and generates readable message source text from it. The
dumped message text is written to a file or to standard output.
dumpmsg outputs only the messages, not the associated delimiting char-
acters (e.g. double quotes).
OPTIONS
-C Characters not included in the ASCII character set are output as
octal numbers in the form \xxx.
catfile
Name of the file containing the X/Open-style binary coded message
catalog.
If you use a dash (-) as the name for catfile, dumpmsg reads from
standard input.
msgfile
Name of the file to which the message text is to be written.
If you use a dash (-) as the name for msgfile, dumpmsg writes to
standard output.
LOCALE
The LCMESSAGES environment variable governs the language in which
message texts are displayed. If LCMESSAGES is undefined or is defined
as the null string, it defaults to the value of LANG. If LANG is like-
wise undefined or null, the system acts as if it were not internation-
alized.
The LCALL environment variable governs the entire locale. LCALL
takes precedence over all the other environment variables which affect
internationalization.
EXAMPLES
The message source file hallo.msf is generated by calling extract.
From this file the gencat command then generates the binary coded mes-
sage catalog hallo.cat. Then dumpmsg is called to write the messages
in the catalog in readable form to standard output (as indicated by
the dash -):
Page 1 Reliant UNIX 5.44 Printed 11/98
dumpmsg(1) dumpmsg(1)
$ cat hallo.c
main()
{
printf("Hello world!");
}
$ extract hallo.c
...
$ gencat hallo.cat hallo.msf
$ dumpmsg hallo.cat -
$set 1
1 Hello world!
SEE ALSO
gencat(1), extract(1).
Page 2 Reliant UNIX 5.44 Printed 11/98