in reply to Re (tilly) 1: == uniq
in thread == uniq

can't resist...
perl -ne '!$s{$_}++ && print' < in > out
   MeowChow                                   
               s aamecha.s a..a\u$&owag.print

Replies are listed 'Best First'.
Re (tilly) 3: == uniq
by tilly (Archbishop) on Feb 13, 2001 at 08:57 UTC
    That executes more slowly. You have to waste time creating new variables because of using postincrement rather than preincrement.