diff for duplicates of <20120616090109.GA10332@localhost> diff --git a/a/1.txt b/N1/1.txt index 46c9161..2d2ce63 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -28,7 +28,7 @@ On Sat, Jun 16, 2012 at 03:50:36PM +0800, Cong Wang wrote: Thanks! I'll use it this way: -lineno"7 +lineno=227 context=3 cat -n drivers/leds/led-triggers.c | sed -e "s/ $lineno\t/> $lineno\t/" -ne "$((lineno - context)),$((lineno + context))p" 224 struct led_classdev *led_cdev; @@ -41,7 +41,7 @@ cat -n drivers/leds/led-triggers.c | sed -e "s/ $lineno\t/> $lineno\t/" -ne "$( > And if you want to find the offending commit: > -> git show `git blame drivers/leds/led-triggers.c | awk 'NR=227{print $1}'` +> git show `git blame drivers/leds/led-triggers.c | awk 'NR==227{print $1}'` The code offered by Peter should run faster: diff --git a/a/content_digest b/N1/content_digest index bb8eaf5..69e54b4 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -8,7 +8,7 @@ "ref\0CAM_iQpUPYpYVaZhCk-bfMe9ZvttQYaSYM_xfKJYX=Z494PWv+A@mail.gmail.com\0" "From\0Fengguang Wu <wfg@linux.intel.com>\0" "Subject\0Re: automated warning notifications\0" - "Date\0Sat, 16 Jun 2012 09:01:09 +0000\0" + "Date\0Sat, 16 Jun 2012 17:01:09 +0800\0" "To\0Cong Wang <xiyou.wangcong@gmail.com>\0" "Cc\0Dan Carpenter <dan.carpenter@oracle.com>" Julia Lawall <julia.lawall@lip6.fr> @@ -49,7 +49,7 @@ "\n" "Thanks! I'll use it this way:\n" "\n" - "lineno\"7\n" + "lineno=227\n" "context=3\n" "cat -n drivers/leds/led-triggers.c | sed -e \"s/ $lineno\\t/> $lineno\\t/\" -ne \"$((lineno - context)),$((lineno + context))p\"\n" " 224 struct led_classdev *led_cdev;\n" @@ -62,7 +62,7 @@ "\n" "> And if you want to find the offending commit:\n" "> \n" - "> git show `git blame drivers/leds/led-triggers.c | awk 'NR=227{print $1}'`\n" + "> git show `git blame drivers/leds/led-triggers.c | awk 'NR==227{print $1}'`\n" "\n" "The code offered by Peter should run faster:\n" "\n" @@ -84,4 +84,4 @@ "Thanks,\n" Fengguang -70c2f6bc0ca898ff765713b819b10b906e890d79d374f037f45dcdd2e1be8fc5 +b19b47a8587be168297cd083ad061ae9cdcda7b737a068ade87bc75d87dc9db0
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.