Using grep directly could result in "binary file matches" without any useful info. This would happen e.g. after renaming some files with badly-encoded filenames. Bash history builtin seems to address such cases better.