Johan Vromans > Palm-ListDB-Writer-1.11.01 > csv2lsdb

Download:
Palm-ListDB-Writer-1.11.01.tar.gz

Annotate this POD

View/Report Bugs
Source  

NAME ^

csv2lsdb - Generate a List database from a comma separated values (CSV) file

SYNOPSIS ^

csv2lsdb [options] [file ...]

Options: --pdb=XXX the file to write the database to --tab use TAB characters for separators --[no]sepnote replace separators in note field by newlines --ident show identification --help brief help message --verbose verbose information

OPTIONS ^

--pdb file

The name of the file to write the database to. If omitted, the database it written to standard output.

--tab

The fields are separated by tabs instead of comma's.

--[no]sepnote

If enabled (default), separator characters that occur in the note field are translated into newlines.

--verbose

More verbose information.

--version

Print a version identification to standard output and exits.

--help

Print a brief help message to standard output and exits.

--ident

Prints a program identification.

file

Input file(s) with data.

DESCRIPTION ^

csv2lsdb will read the given input file(s) and generate a Palm List database from the data.

The first line of the input must contain

  Database,Label1,Label2,Cat1,Cat2,,,,,,

Subsequent lines contain

  Category,Field1,Field2,Note data

Note that additional separators in the note data are usually translated into newlines. Use the --nosepnote option to suppress this.

SEE ALSO ^

Palm::ListDB::Writer.

AUTHOR ^

Johan Vromans <jvromans@squirrel.nl>

COPYRIGHT ^

This programs is Copyright 2003, Squirrel Consultancy.

This program is free software; you can redistribute it and/or modify it under the terms of the Perl Artistic License or the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

syntax highlighting: