Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

msgcvt(1) [opensolaris man page]

msgcvt(1)							   User Commands							 msgcvt(1)

NAME
msgcvt - convert message file to and from HTML SYNOPSIS
msgcvt [-hmr] DESCRIPTION
msgcvt reads a gencat(1) format file on the standard input and converts it to HTML on the standard output. The input file must contain the control statement $quote " and use the " character to quote message text. The output is in a form suitable for automatic translation by web sites such as http://babelfish.altavista.com. OPTIONS
The following options are supported: -h Generate HTML from gencat(1) input. --html This is the default. -m Generate a gencat(1) message file from (presumably translated) HTML. Wide characters are UTF-8 encoded. --msg -r The message file is raw message text, one message per line, with no quoting or line numbering. --raw EXIT STATUS
0 Successful completion. >0 One or more specified jobs does not exist. EXAMPLES
Example 1 Generating a gencat Message Catalog File The following example generates a gencat(1) message catalog file from an HTML file: example% cat example.html | msgcvt -m > examplecat AUTHORS
Glenn Fowler, gsf@research.att.com ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWastdev | +-----------------------------+-----------------------------+ |Interface Stability |Volatile | +-----------------------------+-----------------------------+ SEE ALSO
gencat(1), msgcc(1), msggen(1), attributes(5) SunOS 5.11 9 Oct 2007 msgcvt(1)

Check Out this Related Man Page

gencat(1int)															      gencat(1int)

Name
       gencat - generate a formatted message catalog

Syntax
       gencat catalog_file [source_file ...]

Description
       The  command  takes  one or more message source files and either creates a new catalog or merges new message text into an existing catalog.
       You should use the extension for message text files (for example, ) and the extension for catalogs (for example, ) to  process  files  with
       the command.

       In  some  cases, a formatted message catalog exists that has the same name the one that is creating.  When this occurs, merges the messages
       from the source message catalogs into this existing formatted message catalog.  The command merges the source  message  catalogs  into  the
       formatted  message  catalog  in	the same manner as it merges a group of source message catalogs.  If a source message catalog contains the
       same set number or message number as a set or message in the formatted message catalog, the source  message  catalog  set  or  message  has
       precedence.  For example, if both the source and formatted message catalogs contain a message number 25, the message text for message 25 in
       the source message catalog replaces the message text in the formatted message catalog.  Thus, when source message catalogs are merged  with
       formatted message catalogs, the formatted catalogs are updated.

       If you do not specify a source file, the command accepts message source data from standard input.

       Numeric message source files are portable between X/Open systems.

       For information on the source format for messages files, see the Guide to Developing International Software.

Restrictions
       The command does not accept mnemonic identifiers.  You must run the command if you want to use mnemonic identifiers.

See Also
       extract(1int), mkcatdefs(1int), trans(1int), catgets(3int), catopen(3int), intro(3int), environ(5int)
       Guide to Developing International Software

																      gencat(1int)
Man Page