1msgcvt(1) User Commands msgcvt(1)
2
3
4
6 msgcvt - convert message file to and from HTML
7
9 msgcvt [-hmr]
10
11
13 msgcvt reads a gencat(1) format file on the standard input and converts
14 it to HTML on the standard output. The input file must contain the con‐
15 trol statement $quote " and use the " character to quote message text.
16 The output is in a form suitable for automatic translation by web sites
17 such as http://babelfish.altavista.com.
18
20 The following options are supported:
21
22 -h Generate HTML from gencat(1) input.
23 --html
24 This is the default.
25
26
27 -m Generate a gencat(1) message file from (presumably trans‐
28 --msg lated) HTML. Wide characters are UTF-8 encoded.
29
30
31 -r The message file is raw message text, one message per line,
32 --raw with no quoting or line numbering.
33
34
36 0 Successful completion.
37
38
39 >0 One or more specified jobs does not exist.
40
41
43 Example 1 Generating a gencat Message Catalog File
44
45
46 The following example generates a gencat(1) message catalog file from
47 an HTML file:
48
49
50 example% cat example.html | msgcvt -m > examplecat
51
52
53
55 Glenn Fowler, gsf@research.att.com
56
58 See attributes(5) for descriptions of the following attributes:
59
60
61
62
63 ┌─────────────────────────────┬─────────────────────────────┐
64 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
65 ├─────────────────────────────┼─────────────────────────────┤
66 │Availability │SUNWastdev │
67 ├─────────────────────────────┼─────────────────────────────┤
68 │Interface Stability │Volatile │
69 └─────────────────────────────┴─────────────────────────────┘
70
72 gencat(1), msgcc(1), msggen(1), attributes(5)
73
74
75
76SunOS 5.11 9 Oct 2007 msgcvt(1)