Attached is a proposed patch that starts to address this longstanding problem by deprecating GREP_OPTIONS and warning if it's used. We can remove the dangerous feature in a later release. Comments?