relpipe-out-nullbyte v_0
authorFrantišek Kučera <franta-hg@frantovo.cz>
Tue, 04 Dec 2018 17:27:24 +0100
branchv_0
changeset 178 674b4e3b2f14
parent 177 a64671d5f997
child 179 029dc972f1f2
relpipe-out-nullbyte
relpipe-data/implementation.xml
relpipe-data/specification.xml
--- a/relpipe-data/implementation.xml	Sun Dec 02 22:48:32 2018 +0100
+++ b/relpipe-data/implementation.xml	Tue Dec 04 17:27:24 2018 +0100
@@ -21,6 +21,7 @@
 			relpipe-lib-reader.cpp	library	shared	c++	GNU LGPLv3+ or GPLv2+
 			relpipe-lib-writer.cpp	library	shared	c++	GNU LGPLv3+ or GPLv2+
 			relpipe-out-gui.qt.cpp	executable	output	c++	GNU GPLv3+
+			relpipe-out-nullbyte.cpp	executable	output	c++	GNU GPLv3+
 			relpipe-out-tabular.cpp	executable	output	c++	GNU GPLv3+
 			relpipe-out-xml.cpp	executable	output	c++	GNU GPLv3+
 			relpipe-tr-grep.cpp	executable	transformation	c++	GNU GPLv3+
--- a/relpipe-data/specification.xml	Sun Dec 02 22:48:32 2018 +0100
+++ b/relpipe-data/specification.xml	Tue Dec 04 17:27:24 2018 +0100
@@ -113,6 +113,17 @@
 			Particular implementation might offer also additional features like chart drawing or simple statistics (sum, max, min, avg, percentiles etc.)
 		</p>
 		
+		<h3>relpipe-out-nullbyte</h3>
+		
+		<p>
+			A tool that converts relational data to a list of null-byte (<code>\0</code>) separated values.
+			Makes sense only for a single relation because boundaries between relations will be lost if there are more of them.
+			Also attribute names and types are lost by default.
+		</p>
+		<p>
+			Is suitable for passing a single relation to <code>xargs -0 -nX</code> (where X is the attribute count)
+			or other command that accepts values separated by a null-byte.
+		</p>
 		
 		<h3>relpipe-out-xml</h3>