Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ findmsg(1) — HP-UX 5.20

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

findstr(1)

gencat(1)

insertmsg(1)

getmsg(3C)

FINDMSG(1)  —  HP-UX

NAME

findmsg, dumpmsg − create message catalog file for modification

SYNOPSIS

findmsg file ...
dumpmsg file ...

DESCRIPTION

Findmsg extracts messages from C program source file and writes them to the standard output, along with set information.  The source file lines from which the string literals are to be extracted must have nl_msg and " in the same line.  There are four cases to be handled:

printf(nl_msg(1, "message"));

#define NLSMESS "message"/* nl_msg 1 */

char nlsmess[] = "message"/* nl_msg 1 */

char *nlsmess[] = {
"message 1",/* nl_msg 1 */
"message 2",/* nl_msg 2 */
0
};

In each of the latter three cases, there are executable lines elsewhere which contain nl_msg in an executable form, along with the necessary reference.  Only one message is allowed on each physical line.  Each message must appear completely on one line along with the nl_msg token. 

Findmsg derives message catalog set numbers from source lines which appear as:

#define  NL_SETN 1

Typically a single such line will appear toward the beginning of the source file. 

Dumpmsg dumps out messages which are stored in a message catalog file which was generated by the gencat(1) command.

The output of either command is in the form:

$set 1

1 message1\n

2 message two\n

Each message can then be changed as necessary, then processed by the gencat(1) command.

AUTHOR

Findmsg was developed by the Hewlett-Packard Company. 

SEE ALSO

findstr(1), gencat(1), insertmsg(1), getmsg(3C). 

INTERNATIONAL SUPPORT

8- and 16-bit data, 8-bit filenames. 

Hewlett-Packard Company  —  Version B.1,  May 11, 2021

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026