Created
January 9, 2013 10:30
-
-
Save xoosye/4492184 to your computer and use it in GitHub Desktop.
1,sort命令排序
2,将字符转成大写
3,用comm命令比较文件
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sort mac_data_xianmian.txt > sort_mac_data_xianmian_1.txt | |
tr 'a-z' 'A-Z' < sort_mac_data_xianmian_1.txt | cat > sort_xianmian_1.txt | |
comm -12 sort_mac_data.txt sort_xianmian_1.txt | cat > rs_xianmian_1.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment