changeset 16569:a3c07728832a

(find-grep-options): Treat solaris, irix like BSD.
author Richard M. Stallman <rms@gnu.org>
date Tue, 12 Nov 1996 06:04:05 +0000
parents cc6d85f9df0f
children f1f1c509a8f2
files lisp/find-dired.el
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/find-dired.el	Tue Nov 12 06:03:20 1996 +0000
+++ b/lisp/find-dired.el	Tue Nov 12 06:04:05 1996 +0000
@@ -38,7 +38,11 @@
 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'.")