relpipe-data/examples.xml
branchv_0
changeset 213 cbf25a63a43f
parent 212 bf9a704dc916
child 214 63f31bf2697f
equal deleted inserted replaced
212:bf9a704dc916 213:cbf25a63a43f
   605 		
   605 		
   606 		<m:pre jazyk="bash">cat both.rp | relpipe-tr-cut 'numbers' 'b|a|c' 'b' 'a' 'a' | relpipe-out-tabular</m:pre>
   606 		<m:pre jazyk="bash">cat both.rp | relpipe-tr-cut 'numbers' 'b|a|c' 'b' 'a' 'a' | relpipe-out-tabular</m:pre>
   607 		
   607 		
   608 		<p>
   608 		<p>
   609 			n.b. the order in <code>'b|a|c'</code> does not matter and if such regex matches, it preserves the original order of the attributes;
   609 			n.b. the order in <code>'b|a|c'</code> does not matter and if such regex matches, it preserves the original order of the attributes;
   610 			but if we specify multiple regexes to specify attributes, their order and count matters:
   610 			but if we use multiple regexes to specify attributes, their order and count matters:
   611 		</p>
   611 		</p>
   612 		
   612 		
   613 		<pre><![CDATA[numbers:
   613 		<pre><![CDATA[numbers:
   614  ╭─────────────┬─────────────┬─────────────┬─────────────┬─────────────┬─────────────╮
   614  ╭─────────────┬─────────────┬─────────────┬─────────────┬─────────────┬─────────────╮
   615  │ a (integer) │ b (integer) │ c (integer) │ b (integer) │ a (integer) │ a (integer) │
   615  │ a (integer) │ b (integer) │ c (integer) │ b (integer) │ a (integer) │ a (integer) │