Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • 1
    This doesn't work for me, for some reason ... Commented Feb 7, 2018 at 21:05
  • @Jan are your files sorted? How did you sort them? Commented Feb 8, 2018 at 19:03
  • @roaima I have additional explanation not supplied by the other answer. Also, I'm adding -2, and they are only using -3, so not exactly the same. Commented Mar 2, 2020 at 12:55
  • @roaima thanks for pointing out that I can improve my answer by standing out from other similar answers! Commented Mar 2, 2020 at 18:28
  • 1
    This is the best answer because comm is purpose-built to do what OP wanted to do. And by "best answer" I mean "will suit for most people", not "will suit for every single use case including absurdly large unsorted files". :D Commented Jul 16, 2022 at 20:30