cartesian product file shell code example Example: cartesian product file shell $ join -j 2 file1 file2 a c a d a e b c b d b e