2004-10-14 10:07
gandalf
Aoccdrnig to rscheearch dneo 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 in teh rghit pclae.The rset can be a toatl mses adn yuo cna sitll raed it wouthit ayn porbselm. Tihs is bcuseae we do not raed ervey lteter by itslef but the wrod as a wlohe. <br /><br /> <!--emo&:grin:--><img src='style_emoticons/default/grin.gif' border='0' style='vertical-align:middle' alt='grin.gif' /><!--endemo--> <!--emo&:grin:--><img src='style_emoticons/default/grin.gif' border='0' style='vertical-align:middle' alt='grin.gif' /><!--endemo-->
2004-10-14 10:14
trick
ho,mygod
2004-10-21 10:21
gandalf
aha, your avatar is very funny<br /><img src='http://www.0599np.com/bbs/UploadFace/761_200410713442564865.gif' border='0' alt='user posted image' />
2004-11-2 22:56
Yoda
I should have read this earlier! <br /><br />Well, it would be better for Nairanidutilos to do the other reply.<br /><br /> <!--emo&:grin:--><img src='style_emoticons/default/grin.gif' border='0' style='vertical-align:middle' alt='grin.gif' /><!--endemo-->
2004-11-2 23:07
Nairanidutilos
<!--QuoteBegin-Yoda+2004-11-02 22:56:13--><div class='quotetop'>QUOTE(Yoda @ 2004-11-02 22:56:13)</div><div class='quotemain'><!--QuoteEBegin-->I should have read this earlier! <br /><br />Well, it would be better for Nairanidutilos to do the other reply.<br /><br /> <!--emo&:grin:--><img src='style_emoticons/default/grin.gif' border='0' style='vertical-align:middle' alt='grin.gif' /><!--endemo--><br />[right][snapback]407029[/snapback][/right]<br /><!--QuoteEnd--></div><!--QuoteEEnd--><br /><br /><br /><!--QuoteBegin-gandalf+2004-10-14 10:07:42--><div class='quotetop'>QUOTE(gandalf @ 2004-10-14 10:07:42)</div><div class='quotemain'><!--QuoteEBegin-->Aoccdrnig to rscheearch dneo 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 in teh rghit pclae.The rset can be a toatl mses adn yuo cna sitll raed it wouthit ayn porbselm. Tihs is bcuseae we do not raed ervey lteter by itslef but the wrod as a wlohe. <br /><br /> <!--emo&:grin:--><img src='style_emoticons/default/grin.gif' border='0' style='vertical-align:middle' alt='grin.gif' /><!--endemo--> <!--emo&:grin:--><img src='style_emoticons/default/grin.gif' border='0' style='vertical-align:middle' alt='grin.gif' /><!--endemo--><br />[right][snapback]398962[/snapback][/right]<br /><!--QuoteEnd--></div><!--QuoteEEnd--><br /><br /><br /> <!--emo&:wacko:--><img src='style_emoticons/default/wacko.gif' border='0' style='vertical-align:middle' alt='wacko.gif' /><!--endemo--> <!--emo&:wacko:--><img src='style_emoticons/default/wacko.gif' border='0' style='vertical-align:middle' alt='wacko.gif' /><!--endemo--> <!--emo&:wacko:--><img src='style_emoticons/default/wacko.gif' border='0' style='vertical-align:middle' alt='wacko.gif' /><!--endemo--> <br /><br /><br />taht slaever egassem evoba eht<br /><br /><br />gnidne eht dna gninnigeb eht ot noitnetta erom yap ot sdnet dnim eht fo msinahcem eht<br /><br /><br />detnarg rof sgniht ekat ot ekil elpoep erofereht<br /><br /><br /><span style='color:blue'>Solitudinarian</span>,flesym evigrof ot,nam si rre ot,erofereht<br /><br /> <!--emo&:wacko:--><img src='style_emoticons/default/wacko.gif' border='0' style='vertical-align:middle' alt='wacko.gif' /><!--endemo--> <!--emo&:wacko:--><img src='style_emoticons/default/wacko.gif' border='0' style='vertical-align:middle' alt='wacko.gif' /><!--endemo--> <!--emo&:wacko:--><img src='style_emoticons/default/wacko.gif' border='0' style='vertical-align:middle' alt='wacko.gif' /><!--endemo--> <br /><br /><br /><br />
2004-11-3 16:47
gandalf
To read your input, I have to write a script:<br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->%cat do_reverse<br />#!/usr/bin/perl<br />#read a text then reverse each word<br />#with all characters in the opposite order<br /><br />die "You should appoint a source file!\nUSAGE: do_reverse source.txt\n $!" if(@ARGV<1);<br />open(READ_txt,"$ARGV[0]");<br />my $i=1;<br />while(<READ_txt>){<br /> $new[$i]=reverse($_);<br /> $i++;<br />}<br />close(READ_txt);<br />foreach(@new){<br /> chomp $_;<br /> printf("%s", $_);<br />}<br />print "\n";<br />[sc28] /users1/claudehu/perl 210 %./do_reverse orig.txt<br /><br />the above message reveals that<br />the mechanism of the mind tends to pay more attention to the beginning and the ending<br />therefore people like to take things for granted<br />therefore,to err is man,to forgive myself,nairanidutiloS<br />%<br /><!--c2--></div><!--ec2-->
2004-11-4 00:30
Yoda
I found from the web, the script:<br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1--><script><br />var str=prompt("请输入字符串","123")<br />if(str!=null)alert(str.split("").reverse().join(""));<br /></script><!--c2--></div><!--ec2--><br /><br /> <!--emo&:)--><img src='style_emoticons/default/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /><!--endemo-->
2004-11-6 00:32
Solitudinarian
I added two lines to the script and now the html goes like this:<br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1--><HTML><br /><HEAD><br /><TITLE>Reverse</TITLE><br /><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><br /></HEAD><br /><br /><BODY><br /><script><br />var str=prompt("请输入字符串","123")<br />document.writeln(str+"<br><br>");<br />if(str!=null)alert(str.split("").reverse().join(""));<br />document.writeln(str.split("").reverse().join(""));<br /></script><br /></BODY><br /></HTML><br /><!--c2--></div><!--ec2--><br /><br />Now two lines of different directions can also be copied more easily.<br /><br /> <!--emo&:)--><img src='style_emoticons/default/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /><!--endemo-->
页:
[1]
Powered by Discuz! Archiver 5.5.0
© 2001-2006 Comsenz Inc.