Re: Semcarlbd letrtes sepur! (Scrambled letters super!)

"A. Pagaltzis" <[email protected]>
Newsgroups gmane.comp.lang.perl.fun
Message-ID <20030918100018.GA1663@klangraum>
* Etienne Grossmann <[email protected]> [2003-09-18 09:29]:
> I hared a sutdy has been dnoe on taht scjebut in an Eigslnh
> urtiivesny, but I coannt get hold of it. Any ionirmtfoan on
> that sceujbt is welomce.

http://www.bisso.com/ujg_archives/000224.html

> perl -pe 'sub r{join"",map chop,sort map{rand().$_}shift=~/(.)/g};s/\b(\w)(\w*)(\w)\b/$1.r($2).$3/eg'

perl -pe's/(?<=[a-z])([a-z]+)(?=[a-z])/join"",map chop, sort map rand().$_,$1=~m[.]g/ige'
perl -MList::Util=shuffle -pe's/(?<=[a-z])([a-z]+)(?=[a-z])/join"",shuffle$1=~m[.]g/ige'

-- 
Regards,
Aristotle
 
"If you can't laugh at yourself, you don't take life seriously enough."
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.