Split a file by tabs and reorder columns
echo 'A\tB\t\tD' | awk -v OFS=" " -F"\t" '{print $2, $4}' # => 'B D'
There was an error while loading. Please reload this page.