2 # A program that generates some subprograms. For testing WvSubProc.
9 trap "echo Exiting $SUB on TERM...; exit 0" SIGTERM
10 trap "echo Exiting $SUB on INT...; exit 0" SIGINT
12 for a
in 1 2 3 4 5 6 7 8 9 10; do
20 trap "echo Exiting $MAIN on TERM...; exit 0" SIGTERM
21 trap "echo Exiting $MAIN on INT...; exit 0" SIGINT
23 for d
in 1 2 3 4 5 6 7 8 9 10; do
24 echo "Starting $MAIN.$d..."