SyntaxFix
Write A Post
Hire A Developer
Questions
From the AWK man page:
system(cmd) executes cmd and returns its exit status
The GNU AWK manual also has a section that, in part, describes the system function and provides an example:
system
system("date | mail -s 'awk run done' root")