poserteebee wrote:This Perl one liner does the job:Code: Select all
perl -ple '$x{$_}++for/(\w+)/g}{($_)=grep{$x{$_}<2}keys%x' < lorem.txt

but perl looks like the perfect language for such stringsearch algorithms, isnt it?
poserteebee wrote:This Perl one liner does the job:Code: Select all
perl -ple '$x{$_}++for/(\w+)/g}{($_)=grep{$x{$_}<2}keys%x' < lorem.txt
tog wrote:Same problem here... ..just tried every left letter...m!nus wrote:i couldn't imagine a word that would match "weather?ane"
if your last word got 6 letters than you got something wrongProject hash brown wrote:I've got my answer but it won't accept it, Should i enter the last 6 letter or the whole thing? Could someone tell me which part of it i should enter? Ive tried loads of different combinations but its not accepting them