Front page | perl.golf |
Postings from August 2002
putting practice
Thread Previous
|
Thread Next
From:
Greg Allen
Date:
August 30, 2002 02:14
Subject:
putting practice
Message ID:
20020830091422.10926.qmail@web12902.mail.yahoo.com
Okay, so I've decided to practise my golfing before the next apocalypse (after
steadfastly refusing to try -n0 //m in my last outing, and just discovering
~$&). I thought maybe I should devise my own problem to golf. But then not 5
minutes later I stumble across an excellent candidate due to Christian
Neukirchen. The problem is a text scrambler which does this:
# (1) Only letters will be encrypted.
# (2) Words with less than 3 letters will be reversed.
# (3) Words with more than 3 letters will be scrambled this way:
# * All letters on even locations move to the left-hand side.
# * All letters on odd locations move to the right-hand side.
# * A "`" gets between the both sides if the word has more
# than 4 characters.
e.g.
# The only time anyone has tried to make a problem for me was those
# owners, so called, self-styled owners of Gosling Emacs.
# -- RMS "Lecture at KTH", 30. October 1986
# =>
# ehT olny tmie ayn`noe sah tid`re ot mkae a polm`rbe rof em saw toe`hs
# onr`wes, os cle`ald, slef-sye`tld onr`wes fo Gsig`oln Eas`mc.
# -- SMR "Lcue`etr ta HTK", 30. Otbr`coe 1986
post your best encoder to the list... my feeble effort soon.
Greg
__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com
Thread Previous
|
Thread Next