Mercurial > repo
annotate bin/blessyou @ 7393:f5989ee837a9
<hppavilion[2]> le/rn hppavilion/hppavilion is the generator including, but not limited to, hppavilion[1], hppavilion[2], and hppavilion[42]. hppavilion is of length 37-42i-28j+4k-28ij+38ik+62jk+20ijk
author | HackBot |
---|---|
date | Sat, 16 Apr 2016 20:42:55 +0000 |
parents | 4cc6f4753408 |
children | fea38c2307ee |
rev | line source |
---|---|
5654
4cc6f4753408
<tswett> sed -e \'s_Thanks_Bless you_\' -e \'s_/Th/_/Bl/_\' -e \'s_/T/_/B/_\' < bin/thanks > bin/blessyou
HackBot
parents:
diff
changeset
|
1 #!/usr/bin/perl |
4cc6f4753408
<tswett> sed -e \'s_Thanks_Bless you_\' -e \'s_/Th/_/Bl/_\' -e \'s_/T/_/B/_\' < bin/thanks > bin/blessyou
HackBot
parents:
diff
changeset
|
2 $_ = (join " ", @ARGV) || `words`; s/^\s+|\s+$//g; print "Bless you, $_. "; if (/[aeiouyAEIOUY]/) { s/^[^aeiouyAEIOUY]*/Bl/; } else { s/^./B/; } print "$_."; |