haskell/haskell-mode — pull request #157 by alexott (2013-06-02 09:18:53+00:00)
Title: Make compilable on Mac OS X

This change fixes the compilation problem on Mac OS X, where standard sed isn't working
with given commands. Code first tries to detect OS, and after that, do we have GNU
sed (as gsed).

If code is too verbose, feel free to remove not necessary parts