view bin/hi @ 4421:114398f3b359

<kmc> printf \'echo "$1" | /hackenv/lib/cdecl\\n\' > bin/cdecl && chmod +x bin/cdecl
author HackBot
date Sun, 09 Feb 2014 02:02:01 +0000
parents c216e32f5e2e
children
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 "$_.";