<meter id="pryje"><nav id="pryje"><delect id="pryje"></delect></nav></meter>
          <label id="pryje"></label>

          新聞中心

          EEPW首頁 > 嵌入式系統(tǒng) > 設(shè)計應(yīng)用 > Linux比較文件命令comm

          Linux比較文件命令comm

          作者: 時間:2016-09-12 來源:網(wǎng)絡(luò) 收藏

          如此好用的居然一直不知道很落后

          本文引用地址:http://www.ex-cimer.com/article/201609/303752.htm

          可以比較出兩個已排序文件的內(nèi)容

          NAME

          – compare two sorted files line by line

          SYNOPSIS

          comm [OPTION]… FILE FILE

          DESCRIPTION

          Compare sorted files FILE and FILE line by line

          With no options produce threecolumn output Column one contains lines unique to FILE column two contains lines unique to FILE and column three

          contains lines common to both files

          suppress lines unique to FILE

          suppress lines unique to FILE

          suppress lines that appear in both files

          –help display this help and exit

          –version

          output version information and exit

          ex:

          存在txt不存在txt的內(nèi)容

          comm (sort txt) (sort txt)

          存在txt不存在txt的內(nèi)容

          comm (sort txt) (sort txt)

          存在txt也存在txt的內(nèi)容

          comm (sort txt) (sort txt)

          什么也不顯示:)

          comm (sort txt) (sort txt)



          關(guān)鍵詞: Linux comm 命令

          評論


          相關(guān)推薦

          技術(shù)專區(qū)

          關(guān)閉
          看屁屁www成人影院,亚洲人妻成人图片,亚洲精品成人午夜在线,日韩在线 欧美成人 (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })();