Mercurial > repo
view bin/thanks @ 4120:19a8829c434a
<boily> echo -e \'#!/bin/sh\\ncat $@\' >bin/^.^
author | HackBot |
---|---|
date | Mon, 02 Dec 2013 18:15:29 +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 "$_.";