This website requires JavaScript.
Explore
Help
Register
Sign In
zeekling
/
study
Watch
1
Star
0
Fork
0
You've already forked study
Code
Issues
Pull Requests
Releases
Wiki
Activity
ae2f83f578
study
/
linux
/
awk
History
zeek
ae2f83f578
迁移仓库
2020-02-23 22:23:40 +08:00
..
awk使用.md
迁移仓库
2020-02-23 22:23:40 +08:00
README.md
迁移仓库
2020-02-23 22:23:40 +08:00
README.md
获取比较两个文件的相同行
awk
'NR==FNR{a[$1]++} NR!=FNR{if($1 in a){print}}'
text1.txt text2.txt
打印行数大于n的内容
awk
'NR >= n'
filename