egrep is obsolete with grep-3.8 which makes xdg-open raise warnings
based on https://bugzilla.redhat.com/show_bug.cgi?id=2140197
grep egrep /usr/bin/xdg-open
|| ! echo "$1" | egrep -q '^[[:alpha:]][[:alpha:][:digit:]+\.\-]*:'; then
based on https://bugzilla.redhat.com/show_bug.cgi?id=2140197
grep egrep /usr/bin/xdg-open
|| ! echo "$1" | egrep -q '^[[:alpha:]][[:alpha:][:digit:]+\.\-]*:'; then