# HG changeset patch # User František Kučera # Date 1547072108 -3600 # Node ID 8a6b527bc9bb2c47bab3917a0979c2bb1bedea1f # Parent 408b77913c35ce2d64cc0dc8e4f3f127de7e219b CSV input diff -r 408b77913c35 -r 8a6b527bc9bb relpipe-data/download.xml --- a/relpipe-data/download.xml Tue Jan 08 22:53:42 2019 +0100 +++ b/relpipe-data/download.xml Wed Jan 09 23:15:08 2019 +0100 @@ -15,6 +15,7 @@ ssh hg@hg.globalcode.info ls -1d data/relpipe/* | xargs -n1 basename | sort | while read r; do echo "hg clone https://hg.globalcode.info/relpipe/$r;"; done -->

 			name	type	subtype	language	license
 			relpipe-in-cli.cpp	executable	input	c++	GNU GPLv3+
+			relpipe-in-csv.cpp	executable	input	c++	GNU GPLv3+
 			relpipe-in-fstab.cpp	executable	input	c++	GNU GPLv3+
 			relpipe-lib-cli.cpp	library	header-only	c++	GNU GPLv3+
 			relpipe-lib-protocol.cpp	library	header-only	c++	GNU LGPLv3+ or GPLv2+
diff -r 408b77913c35 -r 8a6b527bc9bb relpipe-data/specification.xml
--- a/relpipe-data/specification.xml	Tue Jan 08 22:53:42 2019 +0100
+++ b/relpipe-data/specification.xml	Wed Jan 09 23:15:08 2019 +0100
@@ -88,6 +88,17 @@
 		

+

relpipe-in-csv

+ +

+ A tool that parses a CSV (comma-separated values) input and generates a single relation from it. + Values might be "quoted". + If quoted value contains a quote literal, it is escaped by doubling. + Encoding must be UTF-8. + Line ends might be LF or CRLF. +

+ +

relpipe-in-fstab

@@ -140,6 +151,13 @@ This OpenDocument output can be opened in tools like LibreOffice and further processed (add charts, calculations etc.).

+

relpipe-out-csv

+ +

+ A tool that convers relational data into the CSV format (comma-separated values). + Makes sense only for a single relation because boundaries between relations will be lost if there are more of them. +

+

relpipe-tr-validator