Starting with grep 3.8, egrep throws the following warning egrep: warning: egrep is obsolescent; using grep -E Whch is annoying... so we will use grep -E