perl -e '@a = $ARGV[0]? @ARGV : (); chomp @a; print join "\n", grep { ! $s{$_}++ } @a;' $*