changeset 5132:be29daf5dafa

<b_jonas> echo $\'#!/usr/bin/perl\\n\'\'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,$/\' > bin/toroman && chmod a+x bin/toroman
author HackBot
date Fri, 14 Nov 2014 21:31:10 +0000
parents 96373b259c9e
children d3dc7511bd3e
files bin/toroman
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bin/toroman	Fri Nov 14 21:30:18 2014 +0000
+++ b/bin/toroman	Fri Nov 14 21:31:10 2014 +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;$r{$t}=$_;$t}print k((shift=~/(\w+)/)[0]),$/
+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,$/