Mercurial > repo
view bin/wercome @ 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 | 6eb1b867a767 |
children | d056743e5c13 |
line wrap: on
line source
#!/usr/bin/perl -w if (defined($_=shift)) { s/ *$//; s/ +/ @ /g; exec "bin/@", $_ . " ? wercome"; } else { exec "bin/?", "wercome"; }