• Paul Eggert's avatar
    Prefer grep -E/-F to egrep/fgrep · e8bda380
    Paul Eggert authored
    POSIX marked egrep and fgrep as legacy apps in SUSv2 (1997) and
    withdrew them in SUSv3 (2001), and these days grep -E and grep -F
    are probably more portable.
    * lib-src/etags.c (main):
    * lisp/eshell/em-unix.el (eshell-grep, eshell/egrep)
    (eshell/fgrep):
    * lisp/cedet/semantic/symref.el (semantic-symref-find-text):
    * lisp/eshell/esh-var.el (eshell-apply-indices):
    * lisp/progmodes/ada-xref.el (ada-xref-search-with-egrep)
    (ada-find-in-src-path):
    * lisp/textmodes/ispell.el (ispell-grep-command):
    (ispell-lookup-words):
    Use or document grep -E and grep -F instead of egrep and fgrep.
    * lisp/textmodes/ispell.el (ispell-grep-options):
    Use -Ei on all platforms, not just MS-Windows.
    e8bda380
em-unix.el 35.5 KB