Yes, that's what it is designed to do. So, do this instead:
> cat file1 file2 file3 file4 | gawk -f script.awk
Some UNIX/LINUX utilities allow you to include "-" by itself among a list of
filenames on the command line as an indication to read the standard input
stream at that point, but I don't think awk is one of them.
--Albert
Albert Bickford
----- Original Message -----
This message has been scanned for viruses by the VEI Internet
Automatic Email Spam and Virus Scanner, and is believed to be free of spam or
viruses.
Please report spam to spamtrap@.... If you would like 98.9 % spam blocked
from your
E-mail then go to VEI Internet for details. Anti-spam/Anti-virus is FREE with
every account.
http://www.vei.net/
mailtospamtrap@...
[Non-text portions of this message have been removed]