gcc-6: use $(GNU_ARCH) in manifest
[unleashed-userland.git] / components / ksh93 / files / msgcvt.1
blobdc79b33e1800d06429f85304712f7cb67480dcda
1 '\" te
2 .\" Copyright (c) 2000-2007 AT&T Knowledge Ventures
3 .\" To view license terms, see http://www.opensource.org/licenses/cpl1.0.txt
4 .\" Portions Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
5 .TH msgcvt 1 "26 Apr 2010" "SunOS 5.11" "User Commands"
6 .SH NAME
7 msgcvt \- convert message file to and from HTML
8 .SH SYNOPSIS
9 .LP
10 .nf
11 \fBmsgcvt\fR [\fB-hmr\fR]
12 .fi
14 .SH DESCRIPTION
15 .sp
16 .LP
17 \fBmsgcvt\fR reads a \fBgencat\fR(1) format file on the standard input and converts it to \fBHTML\fR on the standard output. The input file must contain the control statement \fB$quote "\fR and use the \fB"\fR character to quote message text. The output is in a form suitable for automatic translation by web sites such as http://babelfish.yahoo.com\&.
18 .SH OPTIONS
19 .sp
20 .LP
21 The following options are supported:
22 .sp
23 .ne 2
24 .mk
25 .na
26 \fB\fB-h\fR\fR
27 .ad
28 .br
29 .na
30 \fB\fB--html\fR\fR
31 .ad
32 .RS 10n
33 .rt  
34 Generate \fBHTML\fR from \fBgencat\fR(1) input. 
35 .sp
36 This is the default.
37 .RE
39 .sp
40 .ne 2
41 .mk
42 .na
43 \fB\fB-m\fR\fR
44 .ad
45 .br
46 .na
47 \fB\fB--msg\fR\fR
48 .ad
49 .RS 10n
50 .rt  
51 Generate a \fBgencat\fR(1) message file from (presumably translated) \fBHTML\fR. Wide characters are UTF-8 encoded.
52 .RE
54 .sp
55 .ne 2
56 .mk
57 .na
58 \fB\fB-r\fR\fR
59 .ad
60 .br
61 .na
62 \fB\fB--raw\fR\fR
63 .ad
64 .RS 10n
65 .rt  
66 The message file is raw message text, one message per line, with no quoting or line numbering.
67 .RE
69 .SH EXIT STATUS
70 .sp
71 .ne 2
72 .mk
73 .na
74 \fB\fB0\fR\fR
75 .ad
76 .RS 6n
77 .rt  
78 Successful completion.
79 .RE
81 .sp
82 .ne 2
83 .mk
84 .na
85 \fB\fB>0\fR\fR
86 .ad
87 .RS 6n
88 .rt  
89 One or more specified jobs does not exist.
90 .RE
92 .SH EXAMPLES
93 .LP
94 \fBExample 1 \fRGenerating a \fBgencat\fR Message Catalog File
95 .sp
96 .LP
97 The following example generates a \fBgencat\fR(1) message catalog file from an HTML file:
99 .sp
100 .in +2
102 example% cat example.html | msgcvt -m > examplecat
104 .in -2
107 .SH AUTHORS
110 Glenn Fowler, \fBgsf@research.att.com\fR
111 .SH ATTRIBUTES
114 See \fBattributes\fR(5) for descriptions of the following attributes:
119 tab(\a) box;
120 cw(2.75i) |cw(2.75i) 
121 lw(2.75i) |lw(2.75i) 
123 ATTRIBUTE TYPE\aATTRIBUTE VALUE
125 Availability\adeveloper/astdev
127 Interface Stability\aVolatile 
130 .SH SEE ALSO
133 \fBgencat\fR(1), \fBmsgcc\fR(1), \fBmsggen\fR(1), \fBattributes\fR(5)