summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-11-12 06:04:05 +0000
committerRichard M. Stallman <rms@gnu.org>1996-11-12 06:04:05 +0000
commit7f02e1c319ea01d735f333d18ece4d63337670ef (patch)
tree077665c542e294af8175553e1f6b4ab5d334cb23
parent7a5de42daf0c138e5250c3ee0b497d903b328f94 (diff)
downloademacs-7f02e1c319ea01d735f333d18ece4d63337670ef.tar.gz
(find-grep-options): Treat solaris, irix like BSD.
-rw-r--r--lisp/find-dired.el6
1 files changed, 5 insertions, 1 deletions
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'.")