The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 10-11-2008
otheus's Avatar
otheus otheus is offline Forum Staff  
Moderator ala Mode
  
 

Join Date: Feb 2007
Location: Innsbruck, Austria
Posts: 1,893
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.