From c53b6fd0ac7f0364fc454bc19647aa5b843d7848 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Sat, 4 Feb 2006 19:44:19 +0000 Subject: [PATCH] In the compatibility comments: mention why we don't use grep -q. --- runtests.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/runtests.sh b/runtests.sh index f6d86f7f..558d986c 100755 --- a/runtests.sh +++ b/runtests.sh @@ -85,7 +85,7 @@ # they're explicitly given on the command line. # Also, we can't count on 'cp -a' or 'mkdir -p', although they're -# pretty handy. +# pretty handy (see function makepath for the latter). # I think some of the GNU documentation suggests that we shouldn't # rely on shell functions. However, the Bash manual seems to say that @@ -100,6 +100,8 @@ # You cannot do "export VAR=VALUE" all on one line; the export must be # separate from the assignment. (SCO SysV) +# Don't rely on grep -q, as that doesn't work everywhere -- just redirect +# stdout to /dev/null to keep it quiet. # STILL TO DO: -- 2.34.1