Mercurial > repo
view bin/thanks @ 4014:5040e382b134
<mrhmouse> echo "#!/bin/sh" > bin/buttsnack
author | HackBot |
---|---|
date | Wed, 13 Nov 2013 21:37:39 +0000 |
parents | c216e32f5e2e |
children |
line wrap: on
line source
#!/usr/bin/perl $_ = (join " ", @ARGV) || `words`; s/^\s+|\s+$//g; print "Thanks, $_. "; if (/[aeiouyAEIOUY]/) { s/^[^aeiouyAEIOUY]*/Th/; } else { s/^./T/; } print "$_.";