perl -lane 'print grep !$s{$_}++, @F'