view bin/hi @ 9538:780c4584c9fd

<shachaf> sled bin/hlnp//s/hg log/revset=tip:0 \\& ! (9071 | 9070 | 5897 | 5895)\\nhg log -r "$revset"/
author HackBot
date Sun, 30 Oct 2016 10:55:40 +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 "$_.";