What's the failing part? Someone declares 'lines in a text file' to be a set and then proceeds to write 'set operations' for them out of your basic unix text processing utilities. Unsurprisingly, it both works and doesn't look like the first thing that would come to mind when thinking of set operations. But then, does 'grep [linenoise]' look like 'finding a string' to those unfamiliar with it?