# warning win32 doublequote perl -e "print grep {$res{$_}==1} map {++$res{$_};$_} split '',$ARGV[0]" abcdefghiaabccdjklm efghijklm