lib/grep: Fix the alias names for egrep/fgrep

This commit is contained in:
Koichi Murase
2022-07-14 22:12:51 +09:00
parent 5d77aa049a
commit e7ca92bde1

View File

@ -24,8 +24,8 @@ fi
# export grep settings
if ((${#_omb_grep_options[@]} > 0)); then
_omb_util_alias grep="grep ${_omb_grep_options[*]}"
_omb_util_alias grep="fgrep ${_omb_grep_options[*]}"
_omb_util_alias grep="egrep ${_omb_grep_options[*]}"
_omb_util_alias fgrep="fgrep ${_omb_grep_options[*]}"
_omb_util_alias egrep="egrep ${_omb_grep_options[*]}"
fi
# clean up