Re: Merging Related Information from 2 Tables

2009-10-30 Thread Jonathan McKeown
On Thursday 29 October 2009 20:44:12 Martin McCormick wrote: Giorgos Keramidas writes: You should use a Perl or Python script, and a hash... If you show us a few sample lines from the input file and how you want the output to look, it shouldn't be too hard to quickly hack one of those

Re: Merging Related Information from 2 Tables

2009-10-29 Thread Giorgos Keramidas
On Thu, 29 Oct 2009 10:38:56 -0500, Martin McCormick mar...@dc.cis.okstate.edu wrote: This is probably going to be a hashing exercise but I am checking to see if any of the building blocks needed are already out there. The problem is simple to describe in that there are 2 tables. One is a

Re: Merging Related Information from 2 Tables

2009-10-29 Thread Martin McCormick
Giorgos Keramidas writes: You should use a Perl or Python script, and a hash... If you show us a few sample lines from the input file and how you want the output to look, it shouldn't be too hard to quickly hack one of those together. Perl and python-- I wasn't even thinking of

Re: Merging Related Information from 2 Tables

2009-10-29 Thread Giorgos Keramidas
On Thu, 29 Oct 2009 18:37:09 +0200, Giorgos Keramidas keram...@ceid.upatras.gr wrote: You should use a Perl or Python script, and a hash... ... Running this script should produce something like: : keram...@kobe:/tmp$ python martin.py input-file : {'kobe': [('A', '127.0.0.1'), ('TXT', 'This