specification: relpipe-tr-cut v_0
authorFrantišek Kučera <franta-hg@frantovo.cz>
Thu, 13 Dec 2018 14:14:17 +0100
branchv_0
changeset 213 cbf25a63a43f
parent 212 bf9a704dc916
child 214 63f31bf2697f
specification: relpipe-tr-cut
relpipe-data/examples.xml
relpipe-data/specification.xml
--- a/relpipe-data/examples.xml	Thu Dec 13 13:58:06 2018 +0100
+++ b/relpipe-data/examples.xml	Thu Dec 13 14:14:17 2018 +0100
@@ -607,7 +607,7 @@
 		
 		<p>
 			n.b. the order in <code>'b|a|c'</code> does not matter and if such regex matches, it preserves the original order of the attributes;
-			but if we specify multiple regexes to specify attributes, their order and count matters:
+			but if we use multiple regexes to specify attributes, their order and count matters:
 		</p>
 		
 		<pre><![CDATA[numbers:
--- a/relpipe-data/specification.xml	Thu Dec 13 13:58:06 2018 +0100
+++ b/relpipe-data/specification.xml	Thu Dec 13 14:14:17 2018 +0100
@@ -166,6 +166,14 @@
 			Thus single <code>relpipe-tr-grep</code> run may modify multiple relations or do match on multiple attributes.
 		</p>
 		
+		<h3>relpipe-tr-cut</h3>
+		
+		<p>
+			A tool that drops or multiplies attributes or changes their order (does projection) according to their name match to given regular expression.
+			Relation name is also specified as a regular expression and there might be multiple regexes specifying desired attributes.
+			Thus single <code>relpipe-tr-cut</code> run may modify multiple relations or pick multiple attributes from them.
+		</p>
+		
 	</text>
 
 </stránka>