# HG changeset patch # User František Kučera # Date 1544706857 -3600 # Node ID cbf25a63a43fdda831d216514a0d2ab4578ab292 # Parent bf9a704dc9169b108cd2e48aa480a7fa8b0c4c1a specification: relpipe-tr-cut diff -r bf9a704dc916 -r cbf25a63a43f relpipe-data/examples.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 @@

n.b. the order in 'b|a|c' 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:

relpipe-tr-grep run may modify multiple relations or do match on multiple attributes.
 		

+

relpipe-tr-cut

+ +

+ 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 relpipe-tr-cut run may modify multiple relations or pick multiple attributes from them. +

+