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*

6
  • 12
    so sort them ? comm <(sort a) <(sort b) -1 -2 Commented Feb 21, 2012 at 8:17
  • This is some weird syntax. <()? It works and I get it, but is there a name for this weirdness? Commented Apr 5, 2017 at 22:47
  • @mlissner comm can also read stdin (see man page). <()is your redirection. Commented Apr 9, 2017 at 22:59
  • 2
    @mlissner <() is also known as process substitution. Commented Apr 13, 2017 at 15:51
  • 7
    comm was originally written circa 1973 by someone at Bell Labs, not rms. You're referring to the GNU implementation which came a lot later. There have been a lot of different implementations of the Unix utilities across the years. Commented Oct 30, 2017 at 8:33