Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

cut vs split (suggestions)

by sk (Curate)
on Apr 17, 2005 at 02:09 UTC ( #448559=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    [sk]% time cut -d, -f"1-15" numbers.csv > out.csv
    5.670u 0.340s 0:06.27 95.8% 
    ...
    [sk]% time perl -lanF, -e 'print join ",", @F[0..14];' numbers.csv > o
    +ut.csv
    31.950u 0.200s 0:32.26 99.6%
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://448559]
Approved by tlm
Front-paged by ww
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (9)
As of 2016-12-07 10:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (125 votes). Check out past polls.