Skip to content

Instantly share code, notes, and snippets.

@adelcambre
Created August 26, 2010 00:11
Show Gist options
  • Save adelcambre/550548 to your computer and use it in GitHub Desktop.
Save adelcambre/550548 to your computer and use it in GitHub Desktop.
#!/bin/bash
cp $1 $1.bak
curl -s http://whatthecommit.com/index.txt > $1
cat $1.bak >> $1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment