#!/bin/sh # SPDX-License-Identifier: GPL-2.0+ # # Compares .out and .out.new files for each name on standard input, # one full pathname per line. Outputs comparison results followed by # a summary. # # sh cmplitmushist.sh
echo' ---' Summary: 1>&2
grep '!!!' $T/cmpscript.out 1>&2 if test "$perfect" -ne 0 then echo Exact output matches: $perfect 1>&2 fi if test "$obsline" -ne 0 then echo Matching Observation result and counts: $obsline 1>&2 fi if test "$noobsline" -ne 0 then echo Missing Observation line "(e.g., syntax error)": $noobsline 1>&2 fi if test "$obsresult" -ne 0 then echo Matching Observation Always/Sometimes/Never result: $obsresult 1>&2 fi if test "$timedout" -ne 0 then echo"!!!" Timed out: $timedout 1>&2 fi if test "$badmacnam" -ne 0 then echo"!!!" Unknown primitive: $badmacnam 1>&2 fi if test "$badcompare" -ne 0 then echo"!!!" Result changed: $badcompare 1>&2
exit 1 fi
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.