集合の差分を計算する。2 番目の、 sort と uniq だけで実現している answer の方が使い勝手がよい。

takahirokitakahiroki のブックマーク 2015/08/28 10:56

その他

このブックマークにはスターがありません。
最初のスターをつけてみよう!

bash, Linux: Set difference between two text files

    I have two files A-nodes_to_delete and B-nodes_to_keep. Each file has a many lines with numeric ids. I want to have the list of numeric ids that are in nodes_to_delete but NOT in nodes_to_keep, i.e...

    \ コメントが サクサク読める アプリです /

    • App Storeからダウンロード
    • Google Playで手に入れよう