view bin/hi @ 8021:f5db21202980

<shachaf> le/rn lem/Stanis\xc5\x82aw Lem was a Polish logician who discovered the law of excluded middle.
author HackBot
date Wed, 11 May 2016 03:31:53 +0000
parents 7f957c1f4661
children 140e01ef1912
line wrap: on
line source

#!/usr/bin/perl
$_ = (join " ", @ARGV) || `words`; s/^\s+|\s+$//g; print "Hi $_. "; if (/[aeiouyAEIOUY]/) { s/^[^aeiouyAEIOUY]*/H/; } else { s/^./H/; } print "$_.";