--- a/relpipe-data/examples-grep-cut-fstab.xml Sun May 09 19:43:32 2021 +0200
+++ b/relpipe-data/examples-grep-cut-fstab.xml Tue May 11 21:35:54 2021 +0200
@@ -28,7 +28,7 @@
</p>
<m:pre jazyk="bash"><![CDATA[relpipe-in-fstab \
- | relpipe-tr-grep 'fstab' 'type' '^btrfs|xfs$' \
+ | relpipe-tr-grep --relation 'fstab' --attribute 'type' --value '^btrfs|xfs$' \
| relpipe-tr-cut 'fstab' 'mount_point' \
| relpipe-out-nullbyte \
| while read -r -d '' m; do
@@ -194,7 +194,7 @@
<m:pre jazyk="bash"><![CDATA[cat tasks.csv \
| relpipe-in-csv \
- | relpipe-tr-grep 'csv' 'type' 'FIXME' \
+ | relpipe-tr-grep --relation 'csv' --attribute 'type' --value 'FIXME' \
| relpipe-tr-cut 'csv' 'file|description' \
| relpipe-out-tabular]]></m:pre>
--- a/relpipe-data/examples-grep-fstab.xml Sun May 09 19:43:32 2021 +0200
+++ b/relpipe-data/examples-grep-fstab.xml Tue May 11 21:35:54 2021 +0200
@@ -14,7 +14,9 @@
</p>
- <m:pre jazyk="bash"><![CDATA[relpipe-in-fstab | relpipe-tr-grep 'fstab' 'type' 'btrfs|xfs' | relpipe-out-tabular]]></m:pre>
+ <m:pre jazyk="bash"><![CDATA[relpipe-in-fstab \
+ | relpipe-tr-grep --relation 'fstab' --attribute 'type' --value 'btrfs|xfs' \
+ | relpipe-out-tabular]]></m:pre>
<p>and we will get following filtered result:</p>
<pre><![CDATA[fstab: