in reply to Re^2: Removing repeated words
in thread Removing repeated words

The words run together if you just print the list, though $, can take care of that....
% perl -lane 'print grep !$s{$_}++, @F' one two two three onetwothree % perl -lane '$,=$"; print grep !$s{$_}++, @F' one two two three one two theee

-Blake