Mercurial > repo
view bin/benvenuto @ 8072:90dbd630fd23
<b_jonas> `` perl -pi -e \'s/ (\\$c\\[rand\\(\\@c\\)])/($1 || "No card found.")/\' bin/random-card
author | HackBot |
---|---|
date | Mon, 16 May 2016 11:14:18 +0000 |
parents | 56dcce63901b |
children | ef5ba4348bf2 |
line wrap: on
line source
#!/usr/bin/perl -w if (defined($_=shift)) { s/ *$//; s/ +/ @ /g; exec "bin/@", $_ . " ? welcome.it"; } else { exec "bin/?", "welcome.it"; }