components/ksh93/files/msgcvt.1
changeset 789 5f074ca23733
child 5799 3115259fd185
equal deleted inserted replaced
788:ab1a623335b6 789:5f074ca23733
       
     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
       
    13 
       
    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
       
    38 
       
    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
       
    53 
       
    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
       
    68 
       
    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
       
    80 
       
    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
       
    91 
       
    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:
       
    98 
       
    99 .sp
       
   100 .in +2
       
   101 .nf
       
   102 example% cat example.html | msgcvt -m > examplecat
       
   103 .fi
       
   104 .in -2
       
   105 .sp
       
   106 
       
   107 .SH AUTHORS
       
   108 .sp
       
   109 .LP
       
   110 Glenn Fowler, \[email protected]\fR
       
   111 .SH ATTRIBUTES
       
   112 .sp
       
   113 .LP
       
   114 See \fBattributes\fR(5) for descriptions of the following attributes:
       
   115 .sp
       
   116 
       
   117 .sp
       
   118 .TS
       
   119 tab() box;
       
   120 cw(2.75i) |cw(2.75i) 
       
   121 lw(2.75i) |lw(2.75i) 
       
   122 .
       
   123 ATTRIBUTE TYPEATTRIBUTE VALUE
       
   124 _
       
   125 Availabilitydeveloper/astdev
       
   126 _
       
   127 Interface StabilityVolatile 
       
   128 .TE
       
   129 
       
   130 .SH SEE ALSO
       
   131 .sp
       
   132 .LP
       
   133 \fBgencat\fR(1), \fBmsgcc\fR(1), \fBmsggen\fR(1), \fBattributes\fR(5)