Page 1 of 1

Typos..........

Posted: Wed Sep 17, 2003 4:30 am
by JayBird
Aoccdrnig to a rscheearch at an Elingsh uinervtisy, it deosn't mttaer in waht oredr the ltteers in a wrod are, the olny iprmoetnt tihng is taht frist and lsat ltteer is at the rghit pclae. The rset can be a toatl mses and you can sitll raed it wouthit porbelm. Tihs is bcuseae we do not raed ervey lteter by it slef but the wrod as a wlohe. ceehiro

Mark

Posted: Wed Sep 17, 2003 4:38 am
by Heavy
Taht took a dcenet tmie to wtrie huh?

Posted: Wed Sep 17, 2003 5:16 am
by twigletmac
The sarcy tnhig is taht I culod raed it wtihuot mcuh torulbe :lol:

Mac

Posted: Wed Sep 17, 2003 5:54 am
by Nay
vrey imrepsive :D

is it a fourm rlue now to tpye liek taht?

the msot comon msitkae i see is "taht" and "liek" thuogh

-Nay

Posted: Wed Sep 17, 2003 6:04 am
by qads
lol..hmm..hes right, i can read it 8O

Posted: Wed Sep 17, 2003 8:15 am
by Heavy
Beeing swede and all, I can't get this one right:
ceehiro

Posted: Wed Sep 17, 2003 8:41 am
by JayBird
cheerio, bye, adios, aurevoir, ciao etc etc etc :)

Posted: Wed Sep 17, 2003 11:17 am
by scorphus
Heavy wrote:Taht took a dcenet tmie to wtrie huh?
And to translate too :). I've received the same message in my e-mail, translated to Portuguese.

Despite English not being my native language, I could read it normally.

Cheers,
Scorphus.

Posted: Wed Sep 17, 2003 12:41 pm
by Sinnix
ah ha ha ah that si the cloeost tnihg eevr!!

Posted: Wed Sep 17, 2003 2:04 pm
by jason
So, would this type of encryption be called 'ecnprytoin'?

Posted: Wed Sep 17, 2003 3:56 pm
by m3mn0n
wow, i raed taht jsut as fsat as i wulod raleugr elnigsh txet.

LOL jsoan.

Posted: Wed Sep 17, 2003 10:44 pm
by phice
Perl script:

Code: Select all

#!/usr/bin/perl -w
# Coyprgiht © 2003 Jamie Zawinski <jwz@jwz.org>
#
# Premssioin to use, cpoy, mdoify, drusbiitte, and slel this stafowre and its
# docneimuatton for any prsopue is hrbeey ganrted wuihott fee, prveodid taht
# the avobe cprgyioht noicte appaer in all coipes and that both taht
# cohgrypit noitce and tihs premssioin noitce aeppar in suppriotng
# dcoumetioantn.  No rpeersneatiotns are made about the siuatbliity of tihs
# srofawte for any puorpse.  It is provedid "as is" wiuotht exerpss or 
# ilmpied waanrrty.
#
# Cretaed: 13-Sep-2003.
# Fix0red: 15-Sep-2003.

require 5;
use diagnostics;
use strict;

my $porgnmae = $0; $porgnmae =~ s@.*/@@g;
my $vresoin = q&#123; $Revision: 2.4 $ &#125;; $vresoin =~ s/^&#1111;^0-9]+(&#1111;0-9.]+).*$/$1/;

sub scrmable &#123;
  while (<>) &#123;

    # Tihs smplier rgexep is porablby all taht is nedeed, and the odelr
    # one ddin't work all the time anaywy.  Cehck tihs out:
    #
    # setenv LANG en_US
    # echo -n "foo.bar" | \
    #  perl -e '$_ = <>; print join (" | ", split (/(&#1111;^\w]+)/)) . "\n";'
    #    =>  "foo | . | bar"
    #
    # setenv LANG en_US.utf8
    # echo -n "foo.bar" | \
    #  perl -e '$_ = <>; print join (" | ", split (/(&#1111;^\w]+)/)) . "\n";'
    #    =>  "foo.bar"
    #
    # perl-5.8.0-88, Red Hat 9

    foreach (split (/(\w+)/)) &#123;
#   foreach (split (/(&#1111;^&#1111;:alnum:]]*&#1111;\s&#1111;:punct:]]+)/)) &#123;    # <span style='color:blue' title='I&#39;m naughty, are you naughty?'>smurf</span> uincode

      if (m/\w/) &#123;
        my @w = split (//);
        my $A = shift @w;
        my $Z = pop @w;
        print $A;
        if (defined ($Z)) &#123;
          my $i = $#w+1;
          while ($i--) &#123;
            my $j = int rand ($i+1);
            @w&#1111;$i,$j] = @w&#1111;$j,$i];
          &#125;
          foreach (@w) &#123;
            print $_;
          &#125;
          print $Z;
        &#125;
      &#125; else &#123;
        #print "]";
        print "$_";
        #print "&#1111;";
      &#125;
    &#125;
  &#125;
&#125;

sub usgae &#123;
  print STDERR "usage: $porgnmae < text > scrbameld-txet\n";
  exit 1;
&#125;

sub mian &#123;
  usgae if ($#ARGV != -1);
  scrmable();
&#125;

mian;
exit 0;
Even the script is in that form of 'ecnprytoin' ;)

Posted: Thu Sep 18, 2003 12:37 am
by McGruff
Esnoolrumy lnog wdors are mroe ipaanncciiattg. Need to keep tehm shrot.

Posted: Tue Sep 23, 2003 8:57 am
by JayBird
just wondering if anyone could make a php function that could take a string and return it in this kind of format.

Nice little task if you are bored :)

Mark