Skip to content

Instantly share code, notes, and snippets.

@EmranAhmed
Forked from seungwon0/Whatthecommit
Created December 17, 2013 18:35
Show Gist options
  • Save EmranAhmed/8010260 to your computer and use it in GitHub Desktop.
Save EmranAhmed/8010260 to your computer and use it in GitHub Desktop.
#! /bin/sh
#
# whatthecommit - Random commit message generator
#
# Show random commit message from http://whatthecommit.com/.
#
# Seungwon Jeong <seungwon0@gmail.com>
#
# Copyright 2011 by Seungwon Jeong
curl -s http://whatthecommit.com | perl -p0e '($_)=m{<p>(.+?)</p>}s'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment