@echo 'Any output from "cmp" is bad news, although some differences'
@echo 'in floating point values are probably benign -- in particular,'
@echo 'some systems may omit a leading zero and the floating point'
@echo 'precision may lead to slightly different output in a few cases.'
swaplns::
@../gawk -f swaplns.awk data >tmp
-$(COMPARE) swaplns.good tmp && rm -f tmp
messages::
@../gawk -f messages.awk >out2 2>out3
{ cmp out1.good out1 && cmp out2.good out2 && cmp out3.good out3 && rm -f out1 out2 out3; } || { test -c /dev/stdout && echo IT IS OK THAT THIS TEST FAILED; }
argarray::
@TEST=test echo just a test | ../gawk -f argarray.awk argarray.awk - >tmp