I have two files, A is a subset of B. Both A and B contains strings (key-value pairs) on each line. Whereas A contains the key, B has the actual key-value pair.
How do I create a file which consists of the key-value pairs whose keys come from file A using Linux commands?
Note: The key-value pairs are tab delimited where the key is the string before the first tab.