relpipe-data/examples-apt.xml
branchv_0
changeset 326 ab7f333f1225
parent 257 a39066264509
equal deleted inserted replaced
325:4560c5623d7d 326:ab7f333f1225
    39 		</p>
    39 		</p>
    40 		
    40 		
    41 		<m:pre jazyk="bash"><![CDATA[apt show emacs25* \
    41 		<m:pre jazyk="bash"><![CDATA[apt show emacs25* \
    42 	| sed 's/^ /+/g' \
    42 	| sed 's/^ /+/g' \
    43 	| relpipe-in-recfile \
    43 	| relpipe-in-recfile \
    44 	| relpipe-tr-cut '.*' 'Package|Version|Section|Installed-Size|Homepage|Supported' \
    44 	| relpipe-tr-cut --relation '.*' --attribute 'Package|Version|Section|Installed-Size|Homepage|Supported' \
    45 	| relpipe-out-tabular]]></m:pre>
    45 	| relpipe-out-tabular]]></m:pre>
    46 	
    46 	
    47 		<p>And print results in a pretty table:</p>
    47 		<p>And print results in a pretty table:</p>
    48 		
    48 		
    49 		<pre><![CDATA[recfile:
    49 		<pre><![CDATA[recfile:
    84 		</p>
    84 		</p>
    85 		
    85 		
    86 		<m:pre jazyk="bash"><![CDATA[apt show emacs25* \
    86 		<m:pre jazyk="bash"><![CDATA[apt show emacs25* \
    87 	| sed 's/^ /+/g' \
    87 	| sed 's/^ /+/g' \
    88 	| relpipe-in-recfile \
    88 	| relpipe-in-recfile \
    89 	| relpipe-tr-cut '.*' 'Package|Version|Section|Installed-Size|Homepage|Supported' \
    89 	| relpipe-tr-cut --relation '.*' --attribute 'Package|Version|Section|Installed-Size|Homepage|Supported' \
    90 	| relpipe-out-ods \
    90 	| relpipe-out-ods \
    91 	> apt-packages.fods]]></m:pre>
    91 	> apt-packages.fods]]></m:pre>
    92 	
    92 	
    93 		<p>The machine-readable format should also carry the sizes in bytes instead of human-friendly units.</p>
    93 		<p>The machine-readable format should also carry the sizes in bytes instead of human-friendly units.</p>
    94 		
    94