Re: rename_rev.pl script for reviewing renames

From: Dan Carpenter
Date: Thu Feb 03 2011 - 05:36:18 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/