Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

runxlrd(1) [debian man page]

RUNXLRD(1)						      General Commands Manual							RUNXLRD(1)

NAME
runxlrd - extract data from Microsoft Excel spreadsheet files SYNOPSIS
runxlrd [options] command [input-file-patterns] DESCRIPTION
This manual page documents briefly the runxlrd command. runxlrd offers a commandline interface to the Python xlrd module; it extracts data from Microsoft Excel spreadsheet files. OPTIONS
-h, --help Show summary of options and exit. -l logfilename Contains error messages. -v verbosity, --verbosity=verbosity Level of information and diagnostics provided. -p pickleable, --pickleable=pickleable 1: ensure Book object is pickleable (default); 0: don't bother. -m mmap, --mmap=mmap 1: use mmap; 0: don't use mmap; -1: accept heuristic. -e encoding, --encoding=encoding Encoding override. -f formatting, --formatting=formatting 0 (default): no fmt info 1: fmt info (all cells) 2: fmt info (margins trimmed). -g gc, --gc=gc 0: auto gc enabled; 1: auto gc disabled, manual collect after each file; 2: no gc. -s onesheet, --onesheet=onesheet Restrict output to this sheet (name or index). COMMANDS
Valid commands are o dump o count_records o version o hdr o ov o show o 2rows o 3rows o bench o names o name_dump o labels o xfc o hotshot o profile See the xlrd API documentation for the meaning of these commands. EXAMPLES
To show the first, second and last rows of each sheet in each file, run $ runxlrd 3rows *blah*.xls Run $ runxlrd -e koi8_r 3rows myfile.xls to explicitly pass the needed codepage to xlrd, e.g. if the codepage record is missing, or if it exists but is wrong. SEE ALSO
The xlrd API documentation, shipped in the file xlrd.html. The xlrd website <http://www.lexicon.net/sjmachin/xlrd.htm>. AUTHOR
runxlrd was written by John Machin. This manual page was written by Joost van Baal <joostvb+debian@uvt.nl>, for the Debian project (but may be used by others). xlrd 0.6.1a4 2007-05-24 RUNXLRD(1)

Check Out this Related Man Page

Spreadsheet::ParseExcel::Simple(3pm)			User Contributed Perl Documentation		      Spreadsheet::ParseExcel::Simple(3pm)

NAME
Spreadsheet::ParseExcel::Simple - A simple interface to Excel data SYNOPSIS
my $xls = Spreadsheet::ParseExcel::Simple->read('spreadsheet.xls'); foreach my $sheet ($xls->sheets) { while ($sheet->has_data) { my @data = $sheet->next_row; } } DESCRIPTION
This provides an abstraction to the Spreadsheet::ParseExcel module for simple reading of values. You simply loop over the sheets, and fetch rows to arrays. For anything more complex, you probably want to use Spreadsheet::ParseExcel directly. BOOK METHODS
read my $xls = Spreadsheet::ParseExcel::Simple->read('spreadsheet.xls'); This opens the spreadsheet specified for you. Returns undef if we cannot read the book. sheets @sheets = $xls->sheets; Each spreadsheet can contain one or more worksheets. This fetches them all back. You can then iterate over them, or jump straight to the one you wish to play with. book my $book = $xls->book; The Spreadsheet::ParseExcel object we are working with. You can use this if you need to manipulate it in ways that this interface doesn't allow. SHEET METHODS
These methods can be called on each sheet returned from $xls->sheets: has_data if ($sheet->has_data) { ... } This lets us know if there are more rows in this sheet that we haven't read yet. This allows us to differentiate between an empty row, and the end of the sheet. next_row my @data = $sheet->next_row; Fetch the next row of data back. sheet my $obj = $sheet->sheet; The underlying Spreadsheet::ParseExcel object for the worksheet. You can use this if you need to manipulate it in ways that this interface doesn't allow (e.g. asking it for the sheet's name). AUTHOR
Tony Bowden BUGS and QUERIES Please direct all correspondence regarding this module to: bug-Spreadsheet-ParseExcel-Simple@rt.cpan.org COPYRIGHT AND LICENSE
Copyright (C) 2001-2005 Tony Bowden. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. SEE ALSO
Spreadsheet::ParseExcel. perl v5.8.8 2008-03-12 Spreadsheet::ParseExcel::Simple(3pm)
Man Page