system(cmd) executes cmd and returns its exit status
GNU AWK manual还有a section,部分描述了系统功能,并提供了一个例子:
system("date | mail -s 'awk run done' root")