renard/git-line-history — pull request #1 by lyda (2013-02-16 23:12:59+00:00)
Title: Patch to support OS X.

The sed on OS X is ancient and limited. If you have git, you have
perl so this should be fine everywhere. Haven't done perl in yonks
though so this might not be idiomatic - but it does seem to work
correctly.