Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # (C) Jonathan Voss 2020
- # ISC/copyleft license
- dothing() {
- find . -name '*.php' -exec php -l {} \; | grep "Parse"
- }
- if [ ! -z $1 ]; then
- pushd $1 >/dev/null
- dothing
- popd >/dev/null
- else
- dothing
- fi
Add Comment
Please, Sign In to add comment