On Thu, Feb 03, 2011 at 11:22:19AM +0100, Wolfram Sang wrote: > > # white space at the end of lines > > $line =~ s/ *$//g; > > $line =~ s/\t*$//g; > > Character class here as well? Will also get mixtures of the two. > Actually it's better to let diff to take care of white space probably. I changed the diff at the end to "diff -uw" and it seems to work beautifully. regards, dan carpenter _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel