Content-type: text/html Man page of runcat

runcat

Section: User Commands (1)
Index Return to Main Contents
 

NAME

runcat - Pipes message text source from mkcatdefs to gencat  

SYNOPSIS

runcat catalog_name source_file [catalogfile]


 

DESCRIPTION

The runcat command invokes the mkcatdefs command and pipes the message catalog source data (the output from mkcatdefs) to the gencat program.

The file source_file contains the message text with your symbolic identifiers. The mkcatdefs program uses the catalog_name argument to generate the name of the symbolic definition file by adding _msg.h to the end of the catalog_name value, and to generate the symbolic name for the catalog file by adding MF_ to the beginning of the catalog_name value. The definition file must be included in your application program. The symbolic name for the catalog file can be used in the library functions (such as the catopen function).

The catalogfile argument is the name of the catalog file created by the gencat command. If you do not specify this argument, the gencat command names the catalog file by adding .cat to the end of the catalog_name value. This filename can also be used in the catopen library function.
 

EXAMPLES

To generate a catalog named test.cat from the message source file test.msg, enter: runcat test test.msg


 

SEE ALSO

Commands:  dspcat(1), dspmsg(1), gencat(1), mkcatdefs(1)


 

Index

NAME
SYNOPSIS
DESCRIPTION
EXAMPLES
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 02:42:55 GMT, October 02, 2010