1 jrfindmain > jrfindmain.out 2>&1
# caution: jrfindmain outputs its entire pathname as part of error message,
# which makes output installation dependent.
# so:
# (1) make sure first line is good:
0 grep "found multiple (2) mains" jrfindmain.out >/dev/null 2>&1
# (2) check rest of lines:
0 tail -n 3 jrfindmain.out > No_input.out 2>/dev/null
0 cmp jrfindmain.std No_input.out
0 rm -rf *.class core *.out

# try bad jrgo anyway
1 jrgo "a b  c" Z "d  e f" > No_input.out 2>&1
0 grep "found multiple (2) mains" No_input.out >/dev/null 2>&1
0 rm -rf jrGen core *.out

# try bad jrgox anyway
1 jrgox "a b  c" Z "d  e f" > No_input.out 2>&1
0 grep "found multiple (2) mains" No_input.out >/dev/null 2>&1
0 rm -rf jrGen core *.out
