Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Remove whitespace after closing php tag
- find . -name '*.php' -print0 | xargs -0 perl -0777 -p -i -e 's/(\?>\s*)$/?>\n/'
- # Remove closing php tag from EOF
- find . -name '*.php' -print0 | xargs -0 perl -0777 -p -i -e 's/(\s*\?>\s*)$/\n/'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement