Added do-grep-{end|begin} commands