Skip to content

Commit

Permalink
grep - fix option availability check.
Browse files Browse the repository at this point in the history
Signed-off-by: Allan Krama Guimarães <[email protected]>
  • Loading branch information
allan-kg committed Oct 9, 2024
1 parent e712342 commit 432b618
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/grep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# is x grep argument available?
function _omb_grep_flag_available {
: | grep "$1" "" >/dev/null 2>&1
grep "$1" --help >/dev/null 2>&1
}

_omb_grep_options=()
Expand Down

0 comments on commit 432b618

Please sign in to comment.