This website requires JavaScript.
Explore
Help
Register
Sign In
zeekling
/
study
Watch
1
Star
0
Fork
You've already forked study
0
Code
Issues
Pull Requests
Releases
Wiki
Activity
master
study
/
linux
/
awk
/
README.md
186 B
Raw
Permalink
Blame
History
获取比较两个文件的相同行
awk
'NR==FNR{a[$1]++} NR!=FNR{if($1 in a){print}}'
text1.txt text2.txt
打印行数大于n的内容
awk
'NR >= n'
filename