diff -r 4560c5623d7d -r ab7f333f1225 relpipe-data/examples-grep-cut-fstab.xml
--- a/relpipe-data/examples-grep-cut-fstab.xml Tue May 11 21:35:54 2021 +0200
+++ b/relpipe-data/examples-grep-cut-fstab.xml Tue May 11 22:26:48 2021 +0200
@@ -29,7 +29,7 @@
a
attribute from the numbers
relation:
and leave the letters
relation unaffected:
Or we can remove a
from both relations resp. keep there only attributes whose names match 'b|c'
regex:
Instead of '.*'
we could use 'numbers|letters'
and in this case it will give the same result:
All the time, we are reducing the attributes. But we can also multiply them or change their order:
-
n.b. the order in 'b|a|c'
does not matter and if such regex matches, it preserves the original order of the attributes;
@@ -162,7 +164,7 @@
Record count: 2]]>
- The letters
relation stays rock steady and relpipe-tr-cut 'numbers'
does not affect it in any way.
+ The letters
relation stays rock steady and relpipe-tr-cut --relation 'numbers'
does not affect it in any way.
and get result like this: