Go to main content

man pages section 1: User Commands

Exit Print View

Updated: Thursday, June 13, 2019
 
 

msgcvt (1)

Name

msgcvt - convert message file to and from HTML

Synopsis

msgcvt [-hmr]

Description

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 con-
       trol  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.yahoo.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 trans-
       --msg     lated) HTML. Wide characters are UTF-8 encoded.


       -r        The message file is raw message text, one message  per  line,
       --raw     with no quoting or line numbering.


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(7) for descriptions of the following attributes:




       +-----------------------------+-----------------------------+
       |      ATTRIBUTE TYPE         |      ATTRIBUTE VALUE        |
       +-----------------------------+-----------------------------+
       |Availability                 |developer/astdev             |
       +-----------------------------+-----------------------------+
       |Interface Stability          |Volatile                     |
       +-----------------------------+-----------------------------+

SEE ALSO
       gencat(1), msgcc(1), msggen(1), attributes(7)



Solaris 11.4                      26 Apr 2010                        msgcvt(1)