Advertisement
Guest User

Untitled

a guest
May 29th, 2015
250
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. # Remove whitespace after closing php tag
  2. find . -name '*.php' -print0 | xargs -0 perl -0777 -p -i -e 's/(\?>\s*)$/?>\n/'
  3.  
  4. # Remove closing php tag from EOF
  5. 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