[Gllug] Python challenge

Robert Newson ran at bullet3.fsnet.co.uk
Mon May 9 20:36:18 UTC 2005


Ben Fitzgerald wrote:

> On Mon, May 09, 2005 at 06:30:38PM +0100, Tethys wrote:
> 
>>Richard Jones writes:
>>
>>>One of those get-the-URL challenges:
>>>
>>>http://www.pythonchallenge.com/pc/index.htm
>>>
>>Well that certainly helped while away the hours :-) Stuck on #12 at
>>the moment. Curiously, the three of us here that are doing it each
>>used a different language to solve the various problems -- python,
>>perl and shell scripts. Apart from #5, which requires a bit of python
>>specific knowledge, they can all be solved with any general purpose
>>language (so far at least).
>>
>>I'm the one using shell scripts. Currently, the guy using perl is a
>>few challenges behind the other two. Yet more proof that perl sucks :-)
> 
> Just curious - how did you get the caeser shift (IIRC problem 2 or 3?)
> using a shell script?

Easy:

#!/bin/sh
/usr/games/caesar

(on my freebsd machine...) ^_^


> you don't have to divulge the script, just your methodology! ;-)
> 
> ben.


-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list