Yeah, I read all the man pages for sort AND join. But join insists my file isn't sorted, when it bloody well is. But now I've figured out how to get sqlite3 to import my tab-delimited text files, and I'm a bazillion times more capable in SQL than I am in bash, so I'm happy now! 
