in reply to combining 2 files with a comon field
I think you are looking for split or -F on the command line (see perlrun) and then you can write out the things you want to a new file.
You can split on |
If you need an example after reading the split page and the open tutorial, just come back here with what you've tried ;-)
HTH.
|
|---|