Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: selecting columns from a tab-separated-values file

by ibm1620 (Beadle)
on Jan 22, 2013 at 03:29 UTC ( #1014547=note: print w/ replies, xml ) Need Help??


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.)


Comment on Re^2: selecting columns from a tab-separated-values file
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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1014547]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2014-07-10 02:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (198 votes), past polls