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.
In reply to Re: combining 2 files with a comon field
by ghenry
in thread combining 2 files with a comon field
by jjohhn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |