File: runxlrd.1

package info (click to toggle)
python-xlrd 0.9.2-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 880 kB
  • ctags: 1,041
  • sloc: python: 8,134; makefile: 30
file content (135 lines) | stat: -rw-r--r-- 3,774 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
.\"                                      Hey, EMACS: -*- nroff -*-
.\"
.\" $Id: runxlrd.1 13212 2007-05-24 05:27:04Z joostvb $
.\" $URL: https://infix.uvt.nl/its-id/trunk/sources/python-xlrd/debian/runxlrd.1 $
.\"
.\" Copyright (C) 2007 Joost van Baal
.\" You can redistribute this file and/or modify it under
.\" the terms of the BSD license.
.\"
.\"
.\" Some roff macros, for reference:
.\" .nh        disable hyphenation
.\" .hy        enable hyphenation
.\" .ad l      left justify
.\" .ad b      justify to both left and right margins
.\" .nf        disable filling
.\" .fi        enable filling
.\" .br        insert line break
.\" .sp <n>    insert n+1 empty lines
.\" for manpage-specific macros, see man(7)
.\"
.\" URL - macro for URLs
.\" The first argument is the URL, the second is the text to be
.\" hyperlinked, and the third (optional) argument is any text that
.\" needs to immediately trail the hyperlink without intervening
.\" whitespace.
.\"
.de URL
\\$2 \(laURL: \\$1 \(ra\\$3
..
.if \n[.g] .mso www.tmac
.\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1)
.TH RUNXLRD 1 2007-05-24 "xlrd 0.9.2"
.\" Please adjust this date whenever revising the manpage.
.\"
.SH NAME
runxlrd \- extract data from Microsoft Excel spreadsheet files
.SH SYNOPSIS
.BI "runxlrd [" options ] " command " [ input\-file\-patterns ]
.\" .RI [ options ] " files" ...
.SH DESCRIPTION
This manual page documents briefly the
.B runxlrd
command.
.PP
.\" TeX users may be more comfortable with the \fB<whatever>\fP and
.\" \fI<whatever>\fP escape sequences to invode bold face and italics, 
.\" respectively.
\fBrunxlrd\fP offers a commandline interface to the Python xlrd
module; it extracts data from Microsoft Excel spreadsheet files. For a
complete list of options and commands, run
.B runxlrd
with
.Ar --help
argument.
.SH OPTIONS
.TP
\fB\-h\fP, \fB\-\-help\fP
Show summary of options and exit.
.\".TP
.\".B \-h, \-\-help
.\" Show summary of options and exit.
.\"
.\" .TP
.\" .B \-v, \-\-version
.\" Show version of program.
.TP
.BI "-l " logfilename
Contains error messages.
.TP
\fB\-v\fP \fIverbosity\fP, \fB\-\-verbosity\fP=\fIverbosity\fP
Level of information and diagnostics provided.
.TP
\fB\-m\fP \fImmap\fP, \fB\-\-mmap\fP=\fImmap\fP
1: use mmap; 0: don't use mmap; \-1: accept heuristic.
.TP
\fB\-e\fP \fIencoding\fP, \fB\-\-encoding\fP=\fIencoding\fP
Encoding override.
.TP
\fB\-f\fP \fIformatting\fP, \fB\-\-formatting\fP=\fIformatting\fP
0 (default): no fmt info 1: fmt info (all cells) 2: fmt info (margins trimmed).
.TP
\fB\-g\fP \fIgc\fP, \fB\-\-gc=gc\fP
0: auto gc enabled; 1: auto gc disabled, manual collect after each file; 2: no gc.
.TP
\fB\-s\fP \fIonesheet\fP, \fB\-\-onesheet\fP=\fIonesheet\fP
Restrict output to this sheet (name or index).
.SH COMMANDS
Main commands are
.IP \(bu 2
.B 2rows
.IP \(bu 2
.B 3rows
.IP \(bu 2
.B bench
.IP \(bu 2
.B hdr
.IP \(bu 2
.B labels
.IP \(bu 2
.B names
.IP \(bu 2
.B ov
.IP \(bu 2
.B show
.IP \(bu 2
.B version
.IP \(bu 2
.B xfc
.LP
See the xlrd API documentation for the meaning of these commands.
.SH EXAMPLES
To show the first, second and last rows of each sheet in each file, run
.RS
.B $ runxlrd 3rows *blah*.xls
.RE
.br
Run
.RS
.B $ runxlrd -e koi8_r 3rows myfile.xls
.RE
to explicitly pass the needed codepage to xlrd, e.g. if the codepage record
is missing, or if it exists but is wrong.
.SH SEE ALSO
The xlrd API documentation, shipped in the file xlrd.html.
.br
The
.URL "http://www.python-excel.org" "xlrd website" "."
.SH AUTHOR
runxlrd was written by John Machin.
.PP
This manual page was written by Joost van Baal <joostvb+debian@uvt.nl>,
for the Debian project (but may be used by others).