Find empty lines at end of PHP files

By.

min read

My profile

Share this:

[code:1:212261bf5f]for i in `find . -name “*.php”`; do (echo -n “$i: “; tail -c 3 $i) | grep -v “;|}|[?]>”; done[/code:1:212261bf5f]

Share this:

Leave a Reply

Your email address will not be published. Required fields are marked *