Good idea, but removing the hard coding of file names perhaps gives....
perl -ne " $ARGV eq $ARGV[0] ? $h{$_}++ : $h{$_} ? 0 : print; " small.txt large.txt
In reply to Re^2: a one-liner for this trivial problem?
by space_monk
in thread a one-liner for this trivial problem?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |