# HG changeset patch # User HackBot # Date 1434931023 0 # Node ID 4cc6f475340811ec349eb25d57f188b383235e0b # Parent 6abcbc12ec0dde52c9de85380b93f4ea628030c1 sed -e \'s_Thanks_Bless you_\' -e \'s_/Th/_/Bl/_\' -e \'s_/T/_/B/_\' < bin/thanks > bin/blessyou diff -r 6abcbc12ec0d -r 4cc6f4753408 bin/blessyou --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bin/blessyou Sun Jun 21 23:57:03 2015 +0000 @@ -0,0 +1,2 @@ +#!/usr/bin/perl +$_ = (join " ", @ARGV) || `words`; s/^\s+|\s+$//g; print "Bless you, $_. "; if (/[aeiouyAEIOUY]/) { s/^[^aeiouyAEIOUY]*/Bl/; } else { s/^./B/; } print "$_."; \ No newline at end of file