Mercurial > repo
changeset 11600:333877d7fe85 draft
<oerjan> sled bin/toroman//s,.XLCDM,DM/XLCDMEE,
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Tue, 21 Aug 2018 11:00:34 +0000 |
parents | 91249ac5d2fb |
children | 8c3202ff77ef |
files | bin/toroman |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/bin/toroman Thu Aug 16 18:12:16 2018 +0000 +++ b/bin/toroman Tue Aug 21 11:00:34 2018 +0000 @@ -1,2 +1,2 @@ #!/usr/bin/perl -sub k{my$t;$t=~y/IVXLC/XLCDM/,$t.=("",I,II,III,IV,V,VI,VII,VIII,IX)[$_]for/./g;$t}$_=(shift=~/(\w+)/)[0];print k,$/ +sub k{my$t;$t=~y/IVXLCDM/XLCDMEE/,$t.=("",I,II,III,IV,V,VI,VII,VIII,IX)[$_]for/./g;$t}$_=(shift=~/(\w+)/)[0];print k,$/