How would one do this at command line (specifically dealing with 2 files )
You wouldn't, you would write a program to do it
This advice from someone who's written quite a few one-liners like you describe
In reply to Re: Dealing with multiple input files at Command lLine
by Anonymous Monk
in thread Dealing with multiple input files at Command lLine
by ZWcarp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |