Mercurial > repo
view bin/makequine @ 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 | 1f455af23894 |
children |
line wrap: on
line source
#!/bin/sh if [ $# -ne 0 ]; then for f in "$@"; do echo "#!/bin/cat" && cat "$f"; done; else echo "#!/bin/cat" && cat; fi