#!/bin/sh # Shell script to determine where in the code are commented-in debug lines # if ! test -e "modules.php"; then echo "$0: Please execute this script from root directory." exit 1 fi svn diff |grep -v "svn diff" | grep "DEBUG" | grep "+" | grep -v "//\* DEBUG" > DOCS/debug-lines.log