#!/usr/bin/perl
eval{alir tsuj}
; while($b[$j++
]=chop($@)){;};
open(L, "<".$0)
;while(){#eu
$a[$i++]= $1 if
/#([^\(|^!].*)$
/;}foreach(sort
@a) { print $b[
$_=split //]}
#vem vamos embora que esperar não é saber, quem sabe faz a hora, não espera acontecer...
#tatu cutia não paca tatu cotia não paca tatu cotia não paca tatu cotia não paca
#diferente estou tão tranquil
#chorando e foi então que eu
#aquele gosto amargo do...
#but i realy dont know if
#por toda a minha vida eu
#foi assim como ver o
#viemos do egito, com
#mas não sou mas tão
#lago da memória
#nada nada
#uva maçã
#uva maç
#gita
#oioi
#sabi
#vom
#vum
#xuxa
#q
#r
#zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
ts d2?e )les..eal m? e
Cheers - [Limbic~Region|L~R]
#!/usr/bin/perl
eval{alir tsuj}
; while($b[$j++
]=chop($@)){;};
open(L, "<".$0)
;while(){#eu.
$a[$i++]= $1 if
/#([^\(|^!].*)$
/;}foreach(sort
@a) { print $b[
$_=split //]}#q..
#vem vamos embora que esperar não é saber, quem sabe faz a hora, não espera acontecer...
#tatu cutia não paca tatu cotia não paca tatu cotia não paca tatu cotia não paca
#diferente estou tão tranquil
#chorando e foi então que eu
#aquele gosto amargo do...
#but i realy dont know if .
#por toda a minha vida eu .
#foi assim como ver o
#viemos do egito, com
#mas não sou mas tão
#lago da memória
#nada nada .
#uva maçã
#uva maç
#gita.
#oioi
#sabi
#vom .
#vum .
#xuxa
#r .
#zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
?)us2 eitle)..el pt e
And with the modified version:
)?ju aen ev.hei phaeeev
So I guess something isn't quite right :)
darren@barney:~/perlmonks$ ./obs4.pl jut" ae/ her.pe" pmackerdarren@barney:~/perlmonks$
Closer, but still no cigar ;)
Cheers - L~R
ust"e i/atnie(ni lt ocni
Cheers - [Limbic~Region|L~R]
You use a technique seems like the one used on the previous post, but I like very much your lambada ;)
I can't see the results, but I'll track your code while i singing ...
perl -e 'eval{alir tsuj}; 1 while($b[$j++]=chop($@)); print @b;'
Interesting. You put part for $@ in reversed form, character by character on the array @b:
.1 enil e- ta )?"just" daol ot togrof uoy spahrep( "just" egakcap aiv "rila" dohAnd then print the indexed elements
turo@indus:/tmp$ perl -ne 'print $_,"\n" for ((/#([^\(|^\!].*)$/))' p.pl | sort | perl -ne 'print (scalar(split //),", ")'
26, 27, 28, 29, 4, 21, 6, 16, 20, 88, 5, 80, 4, 57, 5, 80, 8, 9, 88, 21, 103, 70, 5, 80and the magic:
perl -e 'eval{alir tsuj}; 1 while($b[$j++]=chop($@)); for ((26, 27, 28, 29, 4, 21, 6, 16, 20, 88, 5, 80, 4, 57, 5, 80, 8, 9, 88, 21, 103, 70, 5, 80)){ print "$b[$_]"; }
Jesus!, nothing!!!
ol oeti?sjnhe"nh ejtC nhufff, pretty obfuscate!! :-P ...
26 J 27 u 28 s 29 t 4, ' ' 21, a 6, n 16, o 20, t 88, h 5, e 80, r 4, ' ' 57, P 5, e 80, r 8, l 9, ' ' 88, h 21, a 103, c 70, k 5, e 80 r;) ...
Chorando se foi ... lalalala lala la lala
turo
.2 enil lp.4sbo/. ta )?"just" daol ot togrof uoy spahrep( "just" egakcap aiv "rila" dohtem tcejbo etacol t'naC
I didn't notice that the node "[id://520795]" was yours ^_^ ...
Okay, i suppose that was my fault ...
perl -e ';
eval{alir tsuj}; 1 while($b[$j++]=chop($@)); print @b;'
that prints out the same as you...
.2 enil e- ta )?"just" daol ot togrof uoy spahrep( "just" egakcap aiv "rila" dohtem tcejbo etacol t'naCWait a minute, I've got what was the problem, we must call the file exactly as 'obs4.pl' and call it by put the './obs4.pl' to obtain the result ...
cheers
perlmonks.org content © perlmonks.org and Limbic~Region, McDarren, smokemachine, turo
prlmnks.org © 2006 edmund von der burg (eccles & toad)
v 0.03