http://qs321.pair.com?node_id=1090318


in reply to comparing 2 files and creating third file with uncommon content

Whilst it may have been left as an exercise for the interested reader, in the pursuit of an expeditious result and as ArunBear has already suggested, there are readily available command line tools (on *NIX & Cygwin) e.g. join - something like
$ sort File_1 > File_1.sorted $ sort File_2 | join File_1.sorted - -v1 -v2 > file.diff

A user level that continues to overstate my experience :-))