Mercurial > repo
changeset 5129:7d19c0f4d970
<b_jonas> echo $\'#!/usr/bin/perl\\n\'\'$_=shift;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
author | HackBot |
---|---|
date | Fri, 14 Nov 2014 21:22:56 +0000 |
parents | 7d9cc92f0c8f |
children | b0536f245afb |
files | bin/fromroman |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/bin/fromroman Fri Nov 14 21:22:28 2014 +0000 +++ b/bin/fromroman Fri Nov 14 21:22:56 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;$$t=$_;$t}k for s""\$"..4e3;print eval(),$/ +$_=shift;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(),$/