changeset 3055:44277c0eec41

<nooodl> sed -i \'s/words`/words`.chomp/\' bin/thanks
author HackBot
date Wed, 05 Jun 2013 19:09:44 +0000
parents f57219ffa290
children 623844b98809
files bin/thanks
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bin/thanks	Wed Jun 05 19:07:53 2013 +0000
+++ b/bin/thanks	Wed Jun 05 19:09:44 2013 +0000
@@ -1,2 +1,2 @@
 #!/usr/bin/perl
-$_ = $ARGV[0] || `words`; print "Thanks, $_. "; if (/[aeiouy]/) { s/^[^aeiouy]*/Th/; } else { s/^./T/; } print "$_.";
\ No newline at end of file
+$_ = $ARGV[0] || `words`.chomp; print "Thanks, $_. "; if (/[aeiouy]/) { s/^[^aeiouy]*/Th/; } else { s/^./T/; } print "$_.";
\ No newline at end of file