added terminal output for grep -E class|def