Mercurial > repo
view wisdom/`5 @ 10991:2a49f15d9293
<wob_jonas> perl -e {$f="wisdom/rules of wisdom";open$i,"<",$f or die;local$/;$s=<$i>;$s=~s/with no space at the end/and end in a newline with no space before that/ or die;$s=~s/\\n\\z// or die;print$s;open$o,">",$f;print$o $s or die;}
author | HackBot |
---|---|
date | Fri, 02 Jun 2017 10:25:48 +0000 |
parents | 528ff9a0e5b8 |
children |
line wrap: on
line source
`5 <cmd> is equivalent to repeating `` <cmd> 5 times, then splitting the output into irc-sized pieces. <cmd> defaults to "quote". See `1, `4 and `spam. Confusingly _not_ the obvious generalization of `2.