Mercurial > repo
changeset 3061:6e797597142d
<nooodl> mv index.html bin/thanks
author | HackBot |
---|---|
date | Wed, 05 Jun 2013 19:19:46 +0000 |
parents | 728369e37050 |
children | 98731c813a74 |
files | bin/thanks index.html |
diffstat | 2 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/bin/thanks Wed Jun 05 19:19:43 2013 +0000 +++ b/bin/thanks Wed Jun 05 19:19:46 2013 +0000 @@ -1,2 +1,2 @@ #!/usr/bin/perl -$_ = $ARGV[0] || chomp(`words`); print "Thanks, $_. "; if (/[aeiouy]/) { s/^[^aeiouy]*/Th/; } else { s/^./T/; } print "$_."; \ No newline at end of file +$_ = $ARGV[0] || `words`; s/^\s+|\s+$//g; print "Thanks, $_. "; if (/[aeiouy]/) { s/^[^aeiouy]*/Th/; } else { s/^./T/; } print "$_."; \ No newline at end of file