Using the following AWK program:
#!/usr/bin/awk -f
BEGIN { FS=":" }
NR==1 { next; }
/^[1]/ { print $0; count++; }
END { printf("%d lines identified. File processing complete", count) }
I am attempting to pass data to the script in the following manner:
cat bio.data | bio.awk
Unfortunately, the shell responds with "bio.awk: command not found"
I used chmod +x on the bio.awk file prior to issuing the command.
Thank you.