码迷,mamicode.com
首页 >  
搜索关键字:文件对比方法    ( 1个结果
两个文件内容差异对比,
比较两个单行文件的方法就我知道的而言有4种用diff用grep用comm用uniq[root@hxy~]#echo"`seq5`">file1;catfile1 1 2 3 4 5 [root@hxy~]#echo"`seq27`">file2;catfile2 2 3 4 5 6 71.用diff-cfile1多的是"-"file2多的是"+"按这个就可以过滤出来了[root@hxy~]#diff-cfile1f..
分类:其他好文   时间:2017-08-25 17:39:42    阅读次数:123
1条  
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!