fix hgrep for bash