|
发表于 2007-1-18 20:42:55
|
显示全部楼层
man awk
- command | getline
- pipes a record from command into $0 and updates the
- fields and NF.
- command | getline var
- pipes a record from command into var.
- Getline returns 0 on end-of-file, -1 on error, otherwise 1.
- Commands on the end of pipes are executed by /bin/sh.
复制代码 |
|