You are right, its /usr/bin/awk. Now, with ./respchk I get: awk: 1: unexpected character '.'
Jim Brad wrote: > > Lazarus Long wrote: > > > > > I don't know awk, but: > > > > > > 1) you want > > > #!/bin/awk > > Actually, you probalby want /usr/bin/awk on a Debian system. "which awk" > to find out. The space shouldn't matter, although it might. > > Also, i don't think that you can specify the file to search inside the awk > script. You may have to write a shell script to call awk instead. But i > could be wrong, i don't know awk too well either...