Package: csv2xml Version: 0.6 Revision: 1 Description: CSV to XML converter License: BSD Maintainer: Jason Park Source: mirror:sourceforge:%n/%n-%v.tar.gz Source-MD5: bc8db6e8b77935ed26a5867536b7cafd PatchScript: sed 's|@PREFIX@|%p|g' < %a/%n.patch | patch -p1 GCC: 3.3 CompileScript: << make << InstallScript: << install -d -m 755 %i/bin %i/share/man/man1 install -c -m 755 src/csv2xml %i/bin install -c -m 644 man/csv2xml.1 %i/share/man/man1 << DocFiles: README TODO man/csv2xml.1 src/test.csv Homepage: http://csv2xml.sourceforge.net/ DescDetail: << A simle csv to xml converter. Reads csv files and writes valid xml records to standard output. << DescUsage: << If a field in your file contains a comma, or a CR/LF then you need to escape these special characters, you do this by starting the text field with a quote (") and ending it with another quote. Because a quote is the escape character, you need to be able to escape the escape character, this is done by placing a quote in front of the quote (""). Here are descriptions of each mode format. Mode 0: shell# csv2xml -m=0 < test.csv one two three fish fishing fishes Mode 1: shell# csv2xml -m=1 < test.csv Mode 2: shell# csv2xml -m=2 < test.csv one two three fish fishing fishes << DescPackaging: << Had to patch man page to correct man page title. <<