Mercurial > repo
view bin/thanks @ 3063:bb75acbc97c0
<nooodl> sed -i \'s/\\$ARGV\\[0\\]/(join " ", @ARGV)/\' bin/thanks
author | HackBot |
---|---|
date | Wed, 05 Jun 2013 19:23:56 +0000 |
parents | 6e797597142d |
children | c216e32f5e2e |
line wrap: on
line source
#!/usr/bin/perl $_ = (join " ", @ARGV) || `words`; s/^\s+|\s+$//g; print "Thanks, $_. "; if (/[aeiouy]/) { s/^[^aeiouy]*/Th/; } else { s/^./T/; } print "$_.";