Mercurial > repo
view bin/thanks @ 6581:bfa164c8d4f2
<lifthrasiir> ` (echo \'#!/bin/sh\'; echo pung) > bin/pong && chmod a+x bin/pong
author | HackBot |
---|---|
date | Mon, 18 Jan 2016 07:07:21 +0000 |
parents | 685e004a3372 |
children |
line wrap: on
line source
#!/usr/bin/perl -CSDA $_ = (join " ", @ARGV) || `words`; s/^\s+|\s+$//g; print "Thanks, $_. "; if (/[aeiouyAEIOUY]/) { s/^[^aeiouyAEIOUY]*/Th/; } else { s/^./T/; } print "$_.";