Re: Collaborative golf.
[email protected] (Stephen Turner)
| Newsgroups | perl.golf |
|---|---|
| Message-ID | <Pine.LNX.3.96.1020915102728.899B-100000@gentoo> |
On Sat, 14 Sep 2002, Paul Johnson wrote: > > Here's one that doesn't come anywhere near Perl, but it does have nicer > output and error checking - in 240 chars. > And it also has the advantage of being obfuscated. Or is that a disadvantage? -- I never can remember. > echo `echo $* '[ddsf[lfp[too early]Pq]s@1583>@ddd19%1+sg100/1+d3*4/12-sx8*5+25/5-sz5*4/lx-10-sdlg11*20+lz+lx-30%d[30+]s@0>@d[[1+]s@lg11<@]s@25=@d[1+]s@24=@se44le-d[30+]s@21>@dld+7%-7+[March ]smd[31-[April ]sm]s@31<@psnlmPpsn1z>p]splpx'|dc` > > (That's all one line if someone gets it wrapped, but it probably doesn't > matter too much.) > > I believe that most of the credit for this should go to Fred Avolio. > I've had it knocking around since the late 80s I think. > It's very nice. -- Stephen Turner, Cambridge, UK http://homepage.ntlworld.com/adelie/stephen/ "This is Henman's 8th Wimbledon, and he's only lost 7 matches." BBC, 2/Jul/01