join

Join lines of two sorted files on a common field.
More information.
join {file1} {file2}
join -t {','} {file1} {file2}
join -1 {3} -2 {1} {file1} {file2}
join -a {1} {file1} {file2}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).
CC-BY