Skip to content

Instantly share code, notes, and snippets.

@becojo
Forked from disnet/gist:4973724
Last active August 29, 2015 14:10
Show Gist options
  • Save becojo/2cabe04f5d10a63d2f8f to your computer and use it in GitHub Desktop.
Save becojo/2cabe04f5d10a63d2f8f to your computer and use it in GitHub Desktop.
sed '
s/^>//
t
s/^ *$//
t
s/^/-- /
' in.lhs > out.hs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment