Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

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

by Lotus1 (Chaplain)
on Jan 22, 2013 at 17:03 UTC ( #1014732=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 just tried your solution with an input file of 100,000 lines but I only got 65537 lines of output. Here is the command line I used to run the test:

perl ibuf.pl -B=1024 < testdata.csv | perl obuf.pl -B=1024 > out.csv


Comment on Re^2: selecting columns from a tab-separated-values file
Download Code
Re^3: selecting columns from a tab-separated-values file
by BrowserUk (Pope) on Jan 22, 2013 at 17:25 UTC

    Damn! I missed/dropped the last line of obuf.pl when I C&P's the code:

    print $obuf;

    Now corrected above, Thank you.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2014-11-22 14:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (123 votes), past polls