On Thursday 21 May 2009 16:48:55 Lennart Sorensen wrote:
> On Wed, May 20, 2009 at 09:30:05PM +0200, Alan McKinnon wrote:
> > join(1) always appears to me to be over-rated and I have no idea why it's
> > in the objectives. The only person I've ever seen use it in real life is
> > me - joining two log files that really should have been one all along.
>
> I can't even see how it could be used to do that.  What purpose does
> join serve?  I must admit I had never even heard of it before.

I only remember it because it's on the objectives and that's where I heard 
about it too. And it was a long time ago. I had a log file that was missing 
information, which just happened to be in another file. join could fix that.

A real world application (or at least a realistic demonstration) could be john 
the ripper. It wants a combined passwd and shadow file - or a passwd file with 
the passwd in field 2. You can use join for that by joining passwd and shadow 
and specifying which fields to merge. But that's redundant, as john ships a 
tool to do exactly that function

I think join's only real reason for existence is to complete the list of data 
file operations that are mathematically possible...

-- 
alan dot mckinnon at gmail dot com
_______________________________________________
lpi-examdev mailing list
[email protected]
http://list.lpi.org/cgi-bin/mailman/listinfo/lpi-examdev

Reply via email to