relpipe-data/examples.xml
branchv_0
changeset 184 9ad44348e6aa
parent 180 d342de2e09a4
child 185 6cd2e54d90ea
--- a/relpipe-data/examples.xml	Tue Dec 04 22:43:03 2018 +0100
+++ b/relpipe-data/examples.xml	Thu Dec 06 15:13:28 2018 +0100
@@ -67,7 +67,7 @@
 		<p>
 			In the first part, we prepend a single record (<code>relpipe-in-cli</code>) before the data coming from STDIN (<code>cat</code>).
 			Then, we use <code>relpipe-out-nullbyte</code> to convert relational data to values separated by a null-byte.
-			This command processes only attribute values (relation and attribute names are skipped).
+			This command processes only attribute values (skips relation and attribute names).
 			Then we used <code>xargs</code> to read the null-separated values and execute a Perl command for each record (pass to it a same number of arguments, as we have attributes: <code>--max-args=7</code>).
 			Perl does the actual formatting: adds padding and does some little tunning (merges two attributes and replaces empty values with <em>none</em>).
 		</p>
@@ -89,7 +89,7 @@
 		
 		<p>
 			For just mere <code>fstab</code> reformatting, this approach is a bit overengineering.
-			Wo could skip the whole relational thing and do just something like this:
+			We could skip the whole relational thing and do just something like this:
 		</p>
 		
 		<m:pre jazyk="bash">cat /etc/fstab | grep -v '^#' | sed -E 's/\s+/\n/g' | tr \\n \\0 | xargs -0 -n7 ...</m:pre>