Skip to content

Instantly share code, notes, and snippets.

@vyper
Created June 11, 2012 07:00
Show Gist options
  • Save vyper/2908802 to your computer and use it in GitHub Desktop.
Save vyper/2908802 to your computer and use it in GitHub Desktop.
Add comments in all posts for octopress
for i in *.markdown
do
perl -p -i -e 'print "comments: true\n" if /status: publish/' $i
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment