Prefer grep -E/-F to egrep/fgrep
commite8bda380bb491eba325e78827eb33c4a0abfbdda
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 8 May 2016 01:40:10 +0000 (7 18:40 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 8 May 2016 01:40:55 +0000 (7 18:40 -0700)
tree78cb41b3b13df6be8688296d76cf57fb23488b2c
parent4c175a6af5f7935582208e197105cf67aa1b12bd
Prefer grep -E/-F to egrep/fgrep

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.
lib-src/etags.c
lisp/cedet/semantic/symref.el
lisp/eshell/em-unix.el
lisp/eshell/esh-var.el
lisp/progmodes/ada-xref.el
lisp/textmodes/ispell.el