Open System Services Shell and Utilities Reference Manual (G06.27+, H06.04+)

User Commands (c) comm(1)
File le2 contains this sorted list:
Atlanta
Chicago
Cincinnati
Denver
Houston
Los Angeles
Miami
Montreal
New York
Philadelphia
Pittsburgh
San Diego
San Francisco
St. Louis
1. To display the lines unique to each le and common to the two les, enter:
comm le1 le2
This command results in the following output:
Anaheim
Atlanta
Baltimore
Boston
Chicago
Cincinnati
Cleveland
Dallas
Denver
Detroit
Houston
Kansas City
Los Angeles
Miami
Milwaukee
Minneapolis
Montreal
New York
Oakland
Philadelphia
Pittsburgh
San Diego
San Francisco
Seattle
St. Louis
Toronto
The leftmost column contains lines only in le1, the middle column contains lines only
in le2, and the rightmost column contains lines common to both les.
527188-004 Hewlett-Packard Company 261