• <li id="00i08"><input id="00i08"></input></li>
  • <sup id="00i08"><tbody id="00i08"></tbody></sup>
    <abbr id="00i08"></abbr>
  • 新聞中心

    EEPW首頁 > 嵌入式系統 > 設計應用 > Linux比較文件命令comm

    Linux比較文件命令comm

    作者: 時間:2016-09-12 來源:網絡 收藏

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

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

    可以比較出兩個已排序文件的內容

    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的內容

    comm (sort txt) (sort txt)

    存在txt不存在txt的內容

    comm (sort txt) (sort txt)

    存在txt也存在txt的內容

    comm (sort txt) (sort txt)

    什么也不顯示:)

    comm (sort txt) (sort txt)



    關鍵詞: Linux comm 命令

    評論


    相關推薦

    技術專區

    關閉
    主站蜘蛛池模板: 乐昌市| 綦江县| 正阳县| 丹棱县| 库车县| 宁远县| 深水埗区| 宜城市| 高州市| 高陵县| 克拉玛依市| 徐汇区| 大悟县| 华亭县| 永顺县| 平利县| 沭阳县| 简阳市| 大同市| 海晏县| 石楼县| 金堂县| 微博| 共和县| 定远县| 诏安县| 吴江市| 建湖县| 京山县| 绍兴市| 林口县| 多伦县| 潮安县| 通化市| 谷城县| 柳林县| 阳新县| 临武县| 渭源县| 麦盖提县| 司法|