some | command | perl -ne 'print unless $seen{$_}++'