From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 17 22:05:19 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BBECF16A4CE for ; Thu, 17 Mar 2005 22:05:19 +0000 (GMT) Received: from hanoi.cronyx.ru (hanoi.cronyx.ru [144.206.181.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0593543D1F for ; Thu, 17 Mar 2005 22:05:19 +0000 (GMT) (envelope-from rik@cronyx.ru) Received: (from root@localhost) by hanoi.cronyx.ru (8.13.0/vak/3.0) id j2HM2G21085445 for freebsd-hackers@freebsd.org.checked; Fri, 18 Mar 2005 01:02:16 +0300 (MSK) (envelope-from rik@cronyx.ru) Received: from cronyx.ru (localhost.cronyx.ru [127.0.0.1]) by hanoi.cronyx.ru (8.13.0/vak/3.0) with ESMTP id j2HM0HJF085432; Fri, 18 Mar 2005 01:00:17 +0300 (MSK) (envelope-from rik@cronyx.ru) Message-ID: <4239FBAD.1080504@cronyx.ru> Date: Fri, 18 Mar 2005 00:50:37 +0300 From: Roman Kurakin User-Agent: Mozilla/5.0 (X11; U; Linux i686; ru-RU; rv:1.2.1) Gecko/20030426 X-Accept-Language: ru-ru, en MIME-Version: 1.0 To: Giorgos Keramidas References: <4239B16E.8080502@cronyx.ru> <20050317211903.GA1188@gothmog.gr> In-Reply-To: <20050317211903.GA1188@gothmog.gr> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-hackers@freebsd.org Subject: Re: style(9) example :-) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Mar 2005 22:05:19 -0000 Giorgos Keramidas: >On 2005-03-17 19:33, Roman Kurakin wrote: > > >>Hi, >> >>I was unable to refrain from posting this :-) >> >>int i;main(){for(;i["]>o, world!\n",'/'/'/'));}read(j,i,p){write(j/p+p,i---j,i/i);} >> >> > >I've written stuff that's probably a bit harder to read, but in Perl :P > >% cat filter.pl >#/usr/bin/perl >while(){chomp;print(join('',(map{my($b,$j,$t,$o)=(65,128,90,ord($_));(( >$o-$b)>=0&&($o-$b)<=($t-$b))?eval{$o=(($o-$b)+13)%26+$b;$j=11;}:eval{$b=97;$t= >122;(($b>$o)||($t<$o))?eval{$j=10;}:eval{$o=(($o-$b)+13)%26+$b;$j=1431;};};$_= >chr(int(int(($j%2)==(chr($o)==$_))?$o:ord($_)));}(split//,$_)))."\n");} >% > I saw smth like that, which run rm -rf /. I hope this one word greeting ;-) Probably one such code could be added to fortunes. rik >_______________________________________________ >freebsd-hackers@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-hackers >To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > >