man awk
=>
NOTE: If using a pipe, co-process, or socket to getline, or from print or printf within a loop, you must use close() to create new instances of the command or
socket. AWK does not automatically close pipes, sockets, or co-processes when they return EOF.作者: crazytomcheng 时间: 2017-02-09 17:07 回复 9# moperyblue