From: Richard M. Stallman Date: Tue, 12 Nov 1996 06:04:05 +0000 (+0000) Subject: (find-grep-options): Treat solaris, irix like BSD. X-Git-Tag: emacs-20.1~3375 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9f18e6194481b95efc8bb0b4349a24d3c3704268;p=emacs.git (find-grep-options): Treat solaris, irix like BSD. --- diff --git a/lisp/find-dired.el b/lisp/find-dired.el index 2b945dddc9e..9fa21487d7e 100644 --- a/lisp/find-dired.el +++ b/lisp/find-dired.el @@ -38,7 +38,11 @@ gives the option (or options) to `find' that produce the desired output. LS-SWITCHES is a list of `ls' switches to tell dired how to parse the output.") ;;;###autoload -(defvar find-grep-options (if (eq system-type 'berkeley-unix) "-s" "-q") +(defvar find-grep-options + (if (or (eq system-type 'berkeley-unix) + (string-match "solaris2" system-configuration) + (string-match "irix" system-configuration)) + "-s" "-q") "*Option to grep to be as silent as possible. On Berkeley systems, this is `-s'; on Posix, and with GNU grep, `-q' does it. On other systems, the closest you can come is to use `-l'.")