Mercurial > repo
view bin/thanks @ 3981:866c7045ad18
<shachaf> addquote <zzo38> I do sometimes work on Linux computer. I think it is set to en.UTF-8 by default although on my account I have changed it to the C locale, disabled Unicode translation, and loaded a CP437 font. <zzo38> This improves the operation of the system.
author | HackBot |
---|---|
date | Mon, 04 Nov 2013 05:13:31 +0000 |
parents | c216e32f5e2e |
children |
line wrap: on
line source
#!/usr/bin/perl $_ = (join " ", @ARGV) || `words`; s/^\s+|\s+$//g; print "Thanks, $_. "; if (/[aeiouyAEIOUY]/) { s/^[^aeiouyAEIOUY]*/Th/; } else { s/^./T/; } print "$_.";