Skip to content

Instantly share code, notes, and snippets.

@SpringMT
Created March 7, 2011 04:12
Show Gist options
  • Save SpringMT/858059 to your computer and use it in GitHub Desktop.
Save SpringMT/858059 to your computer and use it in GitHub Desktop.
置換
find . -name '*.html' | xargs perl -pi -e 's#\$INC:common_footer\$\r?\n##g; s#</body>(\r)?$#\$INC:common_footer\$$1\n</body>$1#g;'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment