http://www.perlmonks.org?node_id=1014547


in reply to Re: selecting columns from a tab-separated-values file
in thread selecting columns from a tab-separated-values file

I'm on CentOS, and (as pointed out), cut won't, er, cut it because I can't reorder the fields. (Also I need to do a little bit of processing.)

Replies are listed 'Best First'.
Re^3: selecting columns from a tab-separated-values file
by mildside (Friar) on Jan 22, 2013 at 03:39 UTC

    Yes sorry, I'd forgotten about the limitation of cut keeping the original field order (it's fast though!).

    Given you need to do a bit of processing as well I think the post by Kenosis should get you well on the way.