Skip to content

Instantly share code, notes, and snippets.

@renyi
Created November 4, 2013 09:21
Show Gist options
  • Save renyi/7300109 to your computer and use it in GitHub Desktop.
Save renyi/7300109 to your computer and use it in GitHub Desktop.
Replaces {% url something %} with {% url "something" %}
find . -name "*.html" -print0 | xargs -0 sed -i "" 's/ url \([^" >][^ >]*\)/ url "\1"/g'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment