nawk: illegal statement at source line 1

Hello Everyone,

I don't know what is wrong with this:

Is it that nawk cannot run a ".sh" script or is it not treating "." as a literal. If so how to make "." be treated as a literal in "nawk" statemnts?

Thanks in Advance

Please put code, data and sample runs inside [code] tags, not

[quote]
tags.

Right. Only awk syntax can be used in an awk script.

To call a shell command, use the system() function.

Thank you!