dgrep script