view bin/thanks @ 8601:051bf11c8692

<int-e> ` ( echo \'main=putStr s>>print s\'; echo \'s="main=putStr s>>print s\\ns="\' ) > quines/haskell
author HackBot
date Sat, 25 Jun 2016 09:37:35 +0000
parents 685e004a3372
children
line wrap: on
line source

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