relpipe-data/examples-rename-vg-fstab.xml
branchv_0
changeset 329 5bc2bb8b7946
parent 244 d4f401b5f90c
--- a/relpipe-data/examples-rename-vg-fstab.xml	Fri Nov 26 22:14:18 2021 +0100
+++ b/relpipe-data/examples-rename-vg-fstab.xml	Mon Feb 21 00:43:11 2022 +0100
@@ -21,7 +21,11 @@
 		</p>
 		
 		<m:pre jazyk="bash"><![CDATA[relpipe-in-fstab \
-	| relpipe-tr-sed 'fstab' 'device' '^/dev/alpha/' '/dev/beta/' \
+	| relpipe-tr-sed \
+		--relation 'fstab' \
+			--attribute 'device' \
+			--value '^/dev/alpha/' \
+			--replacement '/dev/beta/' \
 	| relpipe-out-fstab]]></m:pre>
 	
 		<p>
@@ -35,7 +39,13 @@
 			For example we can put zeroes in both <code>dump</code> and <code>pass</code> attributes:
 		</p>
 		
-		<m:pre jazyk="bash"><![CDATA[relpipe-in-fstab | relpipe-tr-sed 'fstab' 'dump|pass' '.+' '0' | relpipe-out-fstab]]></m:pre>
+		<m:pre jazyk="bash"><![CDATA[relpipe-in-fstab \
+	| relpipe-tr-sed \
+		--relation 'fstab' \
+			--attribute 'dump|pass' \
+			--value '.+' \
+			--replacement '0' \
+	| relpipe-out-fstab]]></m:pre>
 		
 		<p>
 			n.b. the data types must be respected, we can not e.g. put <code>abc</code> in the <code>pass</code> attribute because it is declared as <code>integer</code>.