Created
June 11, 2013 05:24
-
-
Save ksomemo/5754620 to your computer and use it in GitHub Desktop.
lint php files with xargs (parallel)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find dir -name '*.php' -print0 | xargs -0 -n1 -P8 php -l |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
エラーが出ると止まってしまう。
xargsに渡されるステータスが0でないからだと思われる。