I forgot the -l ...
perl -lne 'push@{($|?"_0":"_1")},$_;eof&&$|++;END{$,=$?||map{print$_1[$-++],$_} + @_0}' file1 file2
In reply to Re^2: join program in one-liner
by Anonymous Monk
in thread join program in one-liner
by sh1tn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |