How do I run an awk script?
If I create a small awk file called find.awk:
{
split("hello world how are you", a)
for (i=1; i<=5; i++)
print a[i]
}
and run the command:
awk -f find.awk
...it waits for input from the keyboard. What should I be doing to get it to run, then return to a command prompt?
Dave
Last edited by davee; 08-12-2003 at 06:00 AM.
|