Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

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

by Lotus1 (Chaplain)
on Jan 22, 2013 at 04:35 UTC ( #1014565=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    FIRST    MIDDLE    LAST    STRNO        CITY    STATE    ZIP    1    2
    +    3    4    5
    FIRST    MIDDLE    LAST    STRNO        CITY    STATE    ZIP    1    2
    +    3    4
    FIRST    MIDDLE    LAST    STRNO        CITY    STATE    ZIP
    
  2. or download this
    ZIP    FIRST    MIDDLE    LAST    STRNO        CITY    3    
    STATE    FIRST    MIDDLE    LAST    STRNO        2    
    LAST    FIRST    CITY    
    
  3. or download this
    C:\b\perlmonks\commands>sed -n "s/^\([^\t]*\t\)[^\t]*\t\([^\t]*\t\)[^\
    +t]*\t[^\t]*\t\([^\t]*\).*/\2\1\3/p" sedtest.csv 
    LAST    FIRST    CITY
    LAST    FIRST    CITY
    LAST    FIRST    CITY
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (9)
As of 2014-09-18 11:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (113 votes), past polls