- 链接地址:https://blog.csdn.net/yexiangCSDN/article/details/79800106
- 链接标题:The awk programming&Effective awk 笔记-CSDN博客
- 所属网站:blog.csdn.net
- 被收藏次数:8751
The awk programmingawk '$3 > 0 { print $1, $2 * $3 }' emp.data 命令参数用逗号隔开pattern {action} 只有pattern 如:$3 == 0 ,默认action是print 打印出匹配行只有action 如:{ print $1 } ,打印出所有行的第一个域 运行awk程序:awk 'program' input ..._effective awk
版权声明:本文发布于特牛网址导航 内容均来源于互联网 如有侵权联系删除