./prog.sh: line 3: nametrace-all: command not found
./prog.sh: line 5: fg: no job control
./prog.sh: line 7: proc: command not found
./prog.sh: line 8: global: command not found
./prog.sh: line 9: flush-trace: command not found
./prog.sh: line 10: close: command not found
./prog.sh: line 11: close: command not found
./prog.sh: line 12: exec: nam: not found