Mercurial > repo
view bin/toroman @ 6479:7f657547a74a
<Taneb> cp bin/2014 bin/2016 # let\'s see how good my memory is
author | HackBot |
---|---|
date | Fri, 01 Jan 2016 18:00:39 +0000 |
parents | 56dcce63901b |
children | 333877d7fe85 |
line wrap: on
line source
#!/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,$/