by harryf · 11y ago · 0 comments
#!/bin/sh
if grep --quiet '<?php' $1; then
echo 'run for your lives!'
else
echo 'phew. all ok'
fi
Edit: OK so everyone lost their sense of humour. Was just pre-empting the inevitable PHP bashing to come...