I am going to try this one last time at the risk of being flogged or drawn and quartered, only because the previous suggestions never worked - Here is what I am trying to do, I have 2 colon delimited "/etc/passwd" like files with a unique key at the beginning of each line on each one, the second file is a subset of the first or master file, i need all of the files from the subset matched up with the same keys in the master file and the rest of the master listing concatenated onto the end of the subset keys listing, see below:
File 1 - master list key1 other stuff key2 other stuff key3 other stuff ... File 2 - subset listing key1 more stuff key3 more stuff ... Desired result: File3 - final listing - subset listing with matching k +eys from master listing concatenated at end key1 more stuff other stuff key3 more stuff other stuff
Thanks in advance
In reply to subset extraction from master file by tux242
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |