Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Joining separate data files to make one.

by kcott (Archbishop)
on Oct 06, 2010 at 15:19 UTC ( [id://863812]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!perl
    
    ...
    
    say join(' ', $_, @{$merged{$_}}) for sort keys %merged;
    
  2. or download this
    ken@Miranda ~/c/_/tmp
    $ cat gravity
    ...
    2010-10-03 00:00:07 lat3 long3 bath1
    2010-10-04 00:00:09 lat4 long4 bath2
    2010-10-05 00:00:01 lat3 long3 bath3
    
  3. or download this
    ken@Miranda ~/c/_/tmp
    $ geo_file_join.pl
    ...
    2010-10-03 00:00:07 lat3 long3 grav3 mag2 bath1
    2010-10-04 00:00:09 lat4 long4 null mag3 bath2
    2010-10-05 00:00:01 lat3 long3 null null bath3
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2024-04-23 15:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found