# HG changeset patch # User Richard M. Stallman # Date 847778645 0 # Node ID a3c07728832a620bc23ba7bd5c73a6cac9a99658 # Parent cc6d85f9df0f2e0c0c22cdfab43013e79f93c6e0 (find-grep-options): Treat solaris, irix like BSD. diff -r cc6d85f9df0f -r a3c07728832a lisp/find-dired.el --- 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'.")