Merging Related Information from 2 Tables
Jonathan McKeown
j.mckeown at ru.ac.za
Fri Oct 30 08:05:23 UTC 2009
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
> > together.
The alternative is to use join(1).
> A records look like:
>
> hydrogen.cis.osu. 43200 IN A 192.168.2.123
>
> Text or TXT records look similar [...]
>
> hydrogen.cis.osu. 5 IN TXT "cordell-north,009,192.168.2.123"
This will work well since the default join field is the first field in the
line.
Jonathan
More information about the freebsd-questions
mailing list