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.

2
  • 1
    Does the order of the lines in the final file matter? Otherwise, sort -u all the input files > output would do it. Commented Jul 20, 2018 at 1:27
  • The order of lines doesn't matter. The result of sort -u file1.txt file2.txt file3.txt > final.txt contains 2 of delta and 2 of epsilon. I was looking for something that matches the final.txt Commented Jul 20, 2018 at 1:35