<?xml version="1.0" encoding="windows-1252"?>
<node id="1014542" title="Re^3: selecting columns from a tab-separated-values file" created="2013-01-21 22:05:47" updated="2013-01-21 22:05:47">
<type id="11">
note</type>
<author id="980501">
spacebar</author>
<data>
<field name="doctext">
You can't reorder the output fields with 'cut', but if you have 'sed' you can do this:
&lt;code&gt;$ cat t
FIRST   MIDDLE  LAST    STRNO   STRNAME CITY    STATE   ZIP

$ sed -n 's/\(.*\t\).*\t\(.*\t\).*\t.*\t\(.*\t\).*\t.*/\2\1\3/p' t
LAST    FIRST   CITY&lt;/code&gt;</field>
<field name="root_node">
1014517</field>
<field name="parent_node">
1014530</field>
</data>
</node>
