annotate bin/fromroman @ 5492:9632543e4442

<ais523> revert 5484
author HackBot
date Tue, 09 Jun 2015 01:44:52 +0000
parents b0536f245afb
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5128
7d9cc92f0c8f <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=$_;$t}k for s""\\$"..4e3;print eval(),$/\' > bin/fromroman && chmod a+x bin/fromroman
HackBot
parents:
diff changeset
1 #!/usr/bin/perl
5130
b0536f245afb <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;$r{$t}=$_;$t}k for s""\\$"..4e3;print $r{(shift=~/(\\w+)/)[0]},$/\' > bin/fromroman && chmod a+x bin/fromroman
HackBot
parents: 5129
diff changeset
2 sub k{my$t;$t=~y/IVXLC/XLCDM/,$t.=("",I,II,III,IV,V,VI,VII,VIII,IX)[$_]for/./g;$r{$t}=$_;$t}k for s""\$"..4e3;print $r{(shift=~/(\w+)/)[0]},$/