Mercurial > repo
view bin/thanks @ 6658:c1477023c681
<oerjan> mkx bin/echo-p//echo "$1"; [[ "$1" == */* ]] && mkdir -p "${1%/*}" 2>/dev/null
author | HackBot |
---|---|
date | Tue, 09 Feb 2016 01:12:38 +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 "$_.";