From 9f18e6194481b95efc8bb0b4349a24d3c3704268 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 12 Nov 1996 06:04:05 +0000 Subject: [PATCH] (find-grep-options): Treat solaris, irix like BSD. --- lisp/find-dired.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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'.") -- 2.39.2