awk调用系统命令

cmd = ("the linux command")
cmd | getline dk;
close(cmd)

dk stores the output of the command.

posted @ 2015-06-27 17:31  悟净  阅读(670)  评论(0编辑  收藏  举报