Mercurial > repo
changeset 3063:bb75acbc97c0
<nooodl> sed -i \'s/\\$ARGV\\[0\\]/(join " ", @ARGV)/\' bin/thanks
author | HackBot |
---|---|
date | Wed, 05 Jun 2013 19:23:56 +0000 |
parents | 98731c813a74 |
children | 3875b2cc1001 |
files | bin/thanks |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/bin/thanks Wed Jun 05 19:19:50 2013 +0000 +++ b/bin/thanks Wed Jun 05 19:23:56 2013 +0000 @@ -1,2 +1,2 @@ #!/usr/bin/perl -$_ = $ARGV[0] || `words`; s/^\s+|\s+$//g; print "Thanks, $_. "; if (/[aeiouy]/) { s/^[^aeiouy]*/Th/; } else { s/^./T/; } print "$_."; \ No newline at end of file +$_ = (join " ", @ARGV) || `words`; s/^\s+|\s+$//g; print "Thanks, $_. "; if (/[aeiouy]/) { s/^[^aeiouy]*/Th/; } else { s/^./T/; } print "$_."; \ No newline at end of file