Commit 269df0f8 by Jeff Law

* test_summary: find good awk (copied from warn_summary).

From-SVN: r19992
parent 57fec042
Sat May 23 23:38:49 1998 Matthias Klose <doko@cs.tu-berlin.de>
* test_summary: find good awk (copied from warn_summary).
Sat May 23 23:38:33 1998 Jeffrey A Law (law@cygnus.com)
* test_summary, warn_summary: New files
...@@ -31,6 +31,18 @@ ...@@ -31,6 +31,18 @@
# -t: prevents logs from being renamed # -t: prevents logs from being renamed
# -m: specify the e-mail address to send notes to. An appropriate default should be selected from the log files. # -m: specify the e-mail address to send notes to. An appropriate default should be selected from the log files.
# -f: force reports to be mailed; if omitted, only reports that differ from the sent.* version are sent # -f: force reports to be mailed; if omitted, only reports that differ from the sent.* version are sent
# Find a good awk.
if test -z "$AWK" ; then
for AWK in gawk nawk awk ; do
if type $AWK 2>&1 | grep 'not found' > /dev/null 2>&1 ; then
:
else
break
fi
done
fi
: ${filesuffix=}; export fileprefix : ${filesuffix=}; export fileprefix
: ${move=true}; export move : ${move=true}; export move
: ${forcemail=false}; export forcemail : ${forcemail=false}; export forcemail
...@@ -63,7 +75,7 @@ for file in $files; do ...@@ -63,7 +75,7 @@ for file in $files; do
done && done &&
$anyfile && $anyfile &&
if $forcemail || $anychange; then :; else mailto=nobody; fi && if $forcemail || $anychange; then :; else mailto=nobody; fi &&
gawk ' $AWK '
BEGIN { BEGIN {
lang=""; lang="";
print "cat <<EOF |"; print "cat <<EOF |";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment