Entering edit mode
6.7 years ago
ago1mutant
▴
10
I have two files and want to extract the first line of input.txt which matches the keywords listed in list.txt. Could you tell me what commands and scripts can do this?
<list.txt> a c d
<input.txt> a 12 b 29 c 12 c 33 d 44