]> www.wagner.pp.ru Git - sites/home_page.git/blob - software/catdoc/xsl2csv.1.html
bcb47c557a5059b12b8a831db889345f6992916c
[sites/home_page.git] / software / catdoc / xsl2csv.1.html
1 <!-- Creator     : groff version 1.18.1 -->
2 <!-- CreationDate: Fri Dec  9 14:11:52 2005 -->
3 <html>
4 <head>
5 <meta name="generator" content="groff -Thtml, see www.gnu.org">
6 <meta name="Content-Style" content="text/css">
7 <title>xls2csv</title>
8 </head>
9 <body>
10
11 <h1 align=center>xls2csv</h1>
12 <a href="#NAME">NAME</a><br>
13 <a href="#SYNOPSIS">SYNOPSIS</a><br>
14 <a href="#DESCRIPTION">DESCRIPTION</a><br>
15 <a href="#OPTIONS">OPTIONS</a><br>
16 <a href="#SEE ALSO">SEE ALSO</a><br>
17 <a href="#AUTHOR">AUTHOR</a><br>
18
19 <hr>
20 <a name="NAME"></a>
21 <h2>NAME</h2>
22 <!-- INDENTATION -->
23 <table width="100%" border=0 rules="none" frame="void"
24        cols="2" cellspacing="0" cellpadding="0">
25 <tr valign="top" align="left">
26 <td width="10%"></td>
27 <td width="89%">
28 <p>xls2csv &minus; reads MS-Excel file and puts its content
29 as comma-separated data on standard output</p>
30 </td>
31 </table>
32 <a name="SYNOPSIS"></a>
33 <h2>SYNOPSIS</h2>
34 <!-- INDENTATION -->
35 <table width="100%" border=0 rules="none" frame="void"
36        cols="2" cellspacing="0" cellpadding="0">
37 <tr valign="top" align="left">
38 <td width="10%"></td>
39 <td width="89%">
40 <p><b>xls2csv</b> [<b>-xlV</b>] [<b>-f</b> <i>format</i> ]
41 [<b>-b</b> <i>string</i> ] [<b>-s</b> <i>charset</i> ]
42 [<b>-d</b> <i>charset</i> ] [-q <i>number</i> ] [<b>-c</b>
43 <i>char</i>] <i>files</i></p>
44 </td>
45 </table>
46 <a name="DESCRIPTION"></a>
47 <h2>DESCRIPTION</h2>
48 <!-- INDENTATION -->
49 <table width="100%" border=0 rules="none" frame="void"
50        cols="2" cellspacing="0" cellpadding="0">
51 <tr valign="top" align="left">
52 <td width="10%"></td>
53 <td width="89%">
54 <p><b>xls2csv</b> reads MS-Excel spreadsheet and dumps its
55 content as comma-separated values to stdout. Numbers are
56 printed without delimiters, strings are enclosed in the
57 double quotes. Double-quotes inside string are doubled.</p>
58 </td>
59 </table>
60 <a name="OPTIONS"></a>
61 <h2>OPTIONS</h2>
62 <!-- TABS -->
63 <table width="100%" border=0 rules="none" frame="void"
64        cols="4" cellspacing="0" cellpadding="0">
65 <tr valign="top" align="left">
66 <td width="11%"></td>
67 <td width="8%">
68
69 <p><b>-x</b></p>
70 </td>
71 <td width="2%"></td>
72 <td width="76%">
73
74 <p>print unknown Unicode chars as \xNNNN, rather than as
75 question marks</p>
76 </td>
77 <tr valign="top" align="left">
78 <td width="11%"></td>
79 <td width="8%">
80
81 <p><b>-l</b></p>
82 </td>
83 <td width="2%"></td>
84 <td width="76%">
85
86 <p>list known charsets and exit successfully</p>
87 </td>
88 <tr valign="top" align="left">
89 <td width="11%"></td>
90 <td width="8%">
91
92 <p><b>-c</b><i>char</i></p>
93 </td>
94 <td width="2%"></td>
95 <td width="76%">
96
97 <p>cell separator char. By default - comma.</p>
98 </td>
99 </table>
100 <!-- INDENTATION -->
101 <table width="100%" border=0 rules="none" frame="void"
102        cols="2" cellspacing="0" cellpadding="0">
103 <tr valign="top" align="left">
104 <td width="10%"></td>
105 <td width="89%">
106 <p><b>-b</b><i>string</i></p></td>
107 </table>
108 <!-- INDENTATION -->
109 <table width="100%" border=0 rules="none" frame="void"
110        cols="2" cellspacing="0" cellpadding="0">
111 <tr valign="top" align="left">
112 <td width="23%"></td>
113 <td width="76%">
114 <p>sheet break string. This string (by default - formfeed)
115 would be output at the end of each workbook page. This
116 string is printed after page starting at start of line, but
117 no linefeed would be automatically added at the end of
118 string. Include newline at the ent of sheet separator if you
119 want it to appear on separate line by itself</p>
120 </td>
121 </table>
122 <!-- TABS -->
123 <table width="100%" border=0 rules="none" frame="void"
124        cols="4" cellspacing="0" cellpadding="0">
125 <tr valign="top" align="left">
126 <td width="11%"></td>
127 <td width="11%">
128
129 <p><b>-g</b><i>number</i></p>
130 </td>
131 <td width="1%"></td>
132 <td width="75%">
133
134 <p>number of decimal digits in the numbers. By default
135 maximal double precision (system-dependent macro DBL_DIG) is
136 used.</p>
137 </td>
138 </table>
139 <!-- INDENTATION -->
140 <table width="100%" border=0 rules="none" frame="void"
141        cols="2" cellspacing="0" cellpadding="0">
142 <tr valign="top" align="left">
143 <td width="10%"></td>
144 <td width="89%">
145 <p><b>-q</b><i>number</i></p></td>
146 </table>
147 <!-- INDENTATION -->
148 <table width="100%" border=0 rules="none" frame="void"
149        cols="2" cellspacing="0" cellpadding="0">
150 <tr valign="top" align="left">
151 <td width="23%"></td>
152 <td width="76%">
153 <p>set quote mode. In quote mode 0 cell contents is never
154 quoted. In quote mode 1 only strings which contain spaces,
155 double quotes or commas are quoted. In quote mode 2
156 (default) all cells with type string are quoted. In quote
157 mode 3 all cells are quoted.</p>
158 </td>
159 </table>
160 <!-- INDENTATION -->
161 <table width="100%" border=0 rules="none" frame="void"
162        cols="2" cellspacing="0" cellpadding="0">
163 <tr valign="top" align="left">
164 <td width="10%"></td>
165 <td width="89%">
166 <p><b>-d</b><i>charset&lsquo;</i></p></td>
167 </table>
168 <!-- INDENTATION -->
169 <table width="100%" border=0 rules="none" frame="void"
170        cols="2" cellspacing="0" cellpadding="0">
171 <tr valign="top" align="left">
172 <td width="23%"></td>
173 <td width="76%">
174 <p>- specifies destination charset name. Charset file has
175 format described in CHARACTER SETS section of
176 <b>catdoc</b>(1) manual page. By default, current locale
177 charset would be used if langinfo support was enabled at the
178 compile time.</p>
179 </td>
180 </table>
181 <!-- INDENTATION -->
182 <table width="100%" border=0 rules="none" frame="void"
183        cols="2" cellspacing="0" cellpadding="0">
184 <tr valign="top" align="left">
185 <td width="10%"></td>
186 <td width="89%">
187 <p><b>-s</b><i>charset</i></p></td>
188 </table>
189 <!-- INDENTATION -->
190 <table width="100%" border=0 rules="none" frame="void"
191        cols="2" cellspacing="0" cellpadding="0">
192 <tr valign="top" align="left">
193 <td width="23%"></td>
194 <td width="76%">
195 <p>- specifies source charset. Typically, Excel files have
196 CODE PAGE record, which denotes input charset, but for some
197 reason you may wish to override it.</p>
198 </td>
199 </table>
200 <!-- INDENTATION -->
201 <table width="100%" border=0 rules="none" frame="void"
202        cols="2" cellspacing="0" cellpadding="0">
203 <tr valign="top" align="left">
204 <td width="10%"></td>
205 <td width="89%">
206 <p><b>-f</b><i>format</i></p></td>
207 </table>
208 <!-- INDENTATION -->
209 <table width="100%" border=0 rules="none" frame="void"
210        cols="2" cellspacing="0" cellpadding="0">
211 <tr valign="top" align="left">
212 <td width="23%"></td>
213 <td width="76%">
214 <p>- specifies date/time format to use for output of all
215 Excel date and time values. If this option is not specified,
216 format, specified in the spreadsheet is used. On POSIX
217 system any format, allowed by <b>strftime</b>(3) can be used
218 as value of this option. Under MS-DOS <b>xls2csv</b>
219 implements limited set of <b>strftime</b> formats, namely
220 <b>m</b>, <b>d</b>, <b>y</b>, <b>Y</b>, <b>b</b>, <b>l</b>,
221 <b>p</b>, <b>H</b>, <b>M</b>, <b>S</b>.</p>
222 </td>
223 </table>
224 <!-- TABS -->
225 <table width="100%" border=0 rules="none" frame="void"
226        cols="5" cellspacing="0" cellpadding="0">
227 <tr valign="top" align="left">
228 <td width="11%"></td>
229 <td width="2%">
230
231 <p><b>-V</b></p>
232 </td>
233 <td width="14%"></td>
234 <td width="32%">
235
236 <p>outputs version number</p>
237 </td>
238 <td width="38%">
239 </td>
240 </table>
241 <a name="SEE ALSO"></a>
242 <h2>SEE ALSO</h2>
243 <!-- INDENTATION -->
244 <table width="100%" border=0 rules="none" frame="void"
245        cols="2" cellspacing="0" cellpadding="0">
246 <tr valign="top" align="left">
247 <td width="10%"></td>
248 <td width="89%">
249 <p><b>cat</b>(1), <b>catdoc</b>(1), <b>strings</b>(1),
250 <b>utf</b>(4), <b>unicode</b>(4)</p>
251 </td>
252 </table>
253 <a name="AUTHOR"></a>
254 <h2>AUTHOR</h2>
255 <!-- INDENTATION -->
256 <table width="100%" border=0 rules="none" frame="void"
257        cols="2" cellspacing="0" cellpadding="0">
258 <tr valign="top" align="left">
259 <td width="10%"></td>
260 <td width="89%">
261 <p>V.B.Wagner &lt;vitus@45.free.net&gt;, based on biffview
262 by David Rysdam</p>
263 </td>
264 </table>
265 <hr>
266 </body>
267 </html>