relpipe-data/examples.xml
branchv_0
changeset 216 bbc9c89122f1
parent 215 c7e88edaedc5
child 223 6402cd6921c5
equal deleted inserted replaced
215:c7e88edaedc5 216:bbc9c89122f1
   373 		</blockquote>
   373 		</blockquote>
   374 		
   374 		
   375 		<h2>Writing an output filter in Bash</h2>
   375 		<h2>Writing an output filter in Bash</h2>
   376 		
   376 		
   377 		<p>
   377 		<p>
   378 			In previous example we created and output filter in Perl. 
   378 			In previous example we created an output filter in Perl. 
   379 			We converted a relation to values separated by <code>\0</code> and then passed it through <code>xargs</code> to a perl <em>one-liner</em> (or <em>multi-liner</em> in this case).
   379 			We converted a relation to values separated by <code>\0</code> and then passed it through <code>xargs</code> to a perl <em>one-liner</em> (or a <em>multi-liner</em> in this case).
   380 			But we can write such output filter in pure Bash without <code>xargs</code> and <code>perl</code>.
   380 			But we can write such output filter in pure Bash without <code>xargs</code> and <code>perl</code>.
   381 			Of course, it is still limited to a single relation (or it can process multiple relations of same type and do something like implicit <code>UNION ALL</code>).
   381 			Of course, it is still limited to a single relation (or it can process multiple relations of same type and do something like implicit <code>UNION ALL</code>).
   382 		</p>
   382 		</p>
   383 		
   383 		
   384 		<p>
   384 		<p>