Martin Hosken > SIL-Shoe-1.37 > sh2csv

Download:
SIL-Shoe-1.37.tar.gz

Annotate this POD

CPAN RT

New  2
Open  0
View/Report Bugs
Source  

NAME ^

sh2csv - converts Shoebox databases into Comma Separated Variables

SYNOPSIS ^

  sh2csv -f sfm,field;markers [-h] [-k sfm] [-o file] [-u] infile.db

  -f fields     sfms in output column order separated by space, comma or ;
  -h            Output column headers
  -k sfm        Optionally specify key field marker
  -o file       Output file
  -u            Data is all in Unicode

DESCRIPTION ^

sh2csv converts Shoebox/Toolbox into Comma Separated Variables for importing into a spreadsheet. Since CSV is a relatively simple format, this program doesn't do anything very clever. It simply takes the first occurrence of each field specified and outputs it in the corresponding column of the output.

Fields in the -f command line option may be separated by any number of space, comma or semicolon. If you want to use spaces remember to input the list inside quotes.

syntax highlighting: