特牛网址导航

The awk programming&Effective awk 笔记-CSDN博客

网友收藏
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
标签:effective awk