[Cascavel-pm] Re: Curiosidade

Alex Fernando Kirsten alex em less.com.br
Terça Fevereiro 18 06:44:33 CST 2003


bash# cat code 
print "yo\n";
bash# perl -ne 'for(split//){print"\t"x(ord()/50)." "x(ord()%50)."\n"}' code > new
bash# cat new
                            
                              
                     
                          
                                
                                
                                  
                                     
                           
                                                  
                          
                                  
                 
bash# perl -e 'open_;$f.=chr s/ //g+s/\t//g*50while<>;eval$f' new
yo
bash# 

*****************************

Poderiamos chamar isso de "Codificação por tabulação"

[]'s

Alex

-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: http://mail.pm.org/pipermail/cascavel-pm/attachments/20030218/c0e143c6/attachment.htm


Mais detalhes sobre a lista de discussão Cascavel-pm