grep.sh cleaned up bad code