You can use Perl and diff, right? cutnot doing this job. Fidelity to your original comment, I am going to search for the word that appears after the "Widnows" in each input line and create a new file consisting only of these words. Then I'm going to split the files.
, Perl, , StackOverflowers, . , Perl. , , . downvotes, .
-, Perl script ( preparse.pl):
my $f = shift @ARGV;
open FILE, "<$f" or die("Couldn't open file!");
while (<FILE>) {
print "$1\n" if $_ =~ /Widnows(\s?)*?(\S+)\s*/;
}
:
preparse.pl file1 > file1.tmp
preparse.pl file2 > file2.tmp
diff file1.tmp file2.tmp
Perl script. .