Parse kernel.org changelogs with wget and grep

I try to keep up with the latest kernel update from kernel.org, but parsing through the output can be a pain if there are a lot of changes taking place. Here’s a handy one-liner to make it easier to read: wget --quiet -O - http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.31.8 | grep -A 4 ^commit | grep -B 1 "^--" | grep -v "^--" It should give you some output like this: Linux 2.6.31.8 ext4: Fix potential fiemap deadlock (mmap_sem vs....

2009-12-15 · 1 min · Major Hayden