|
I think its because $TMPFILE is empty or undefined. awk needs two arguments: your program string and a filename. If it gets no filename, it expects (and waits for) input from standard input. Next time, run the script and hit CTRL-D. Awk will terminate and the script will continue.
|