xref: /titanic_41/usr/src/man/man1/msgcvt.1 (revision 1e4c938b57d1656808e4112127ff1dce3eba5314)
te
Copyright (c) 2000-2007 AT&T Knowledge Ventures
To view license terms, see http://www.opensource.org/licenses/cpl1.0.txt
Portions Copyright (c) 2007, Sun Microsystems, Inc.
msgcvt 1 "9 Oct 2007" "SunOS 5.11" "User Commands"
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

--html

Generate HTML from gencat(1) input. This is the default.

-m

--msg

Generate a gencat(1) message file from (presumably translated) HTML. Wide characters are UTF-8 encoded.

-r

--raw

The message file is raw message text, one message per line, 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(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
Interface StabilityVolatile
SEE ALSO

gencat(1), msgcc(1), msggen(1), attributes(5)