Permalink
Browse files

* whatthecommit.com: strip HTML, decode ampersands

  • Loading branch information...
Minoru committed May 27, 2012
1 parent 9107122 commit 295773d0ab8a55af023e2aa70b41100d17e2857b
Showing with 1 addition and 1 deletion.
  1. +1 −1 whatthecommit.com/whatthecommit
@@ -1,2 +1,2 @@
#!/bin/bash
curl -s whatthecommit.com | sed -n 's/^<p>//p'
curl -s whatthecommit.com | sed -n 's/^<p>//p; s#</p>$##; s#<br */>#\n#g' | htmldecode

0 comments on commit 295773d

Please sign in to comment.