LKML Archive on
help / color / mirror / Atom feed
From: Dan Carpenter <>
To: Wolfram Sang <>
Subject: Re: script for reviewing renames
Date: Thu, 3 Feb 2011 13:35:56 +0300	[thread overview]
Message-ID: <20110203103556.GQ20606@bicker> (raw)
In-Reply-To: <>

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

dan carpenter

  reply	other threads:[~2011-02-03 10:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-03 10:08 Dan Carpenter
2011-02-03 10:22 ` Wolfram Sang
2011-02-03 10:35   ` Dan Carpenter [this message]
2011-02-03 10:50   ` Dan Carpenter
2011-02-06 12:25     ` Dan Carpenter
2011-02-07  3:39       ` Joe Perches

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110203103556.GQ20606@bicker \ \ \ \ \
    --subject='Re: script for reviewing renames' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).