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

Re: parallel reading

by whyxys (Initiate)
on May 11, 2006 at 01:52 UTC ( #548599=note: print w/replies, xml ) Need Help??


in reply to parallel reading

JAPH(just another perl approach),hehe:
perl -e 'map{chomp;$a[$i<3?$i:($i=0)].=$_;$i++}<>;print"@a\n";' filea +fileb filec
assumption that each file has the same number of lines, here line=3 for ease

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://548599]
help
Chatterbox?
[Corion]: Viewing Tk Colours (Colors) by name has the list of all Tk colour names

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (8)
As of 2017-10-17 11:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (226 votes). Check out past polls.

    Notices?