in reply to Re: Re (tilly) 2: Detect common lines between two files, one liner from shell
in thread Detect common lines between two files, one liner from shell
As for your additional question, the -n option is an implicit loop over the lines in both files. If you want to do words, then within each line you would need to loop over the words as well. But the same logic would work. (OTOH the algorithm will get rather inefficient. But oh well.)
|
---|