Mercurial > repo
changeset 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 | a5e8af54d79a |
children | f73b64ab4442 |
files | wisdom/rules of wisdom |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/wisdom/rules of wisdom Fri Jun 02 10:21:55 2017 +0000 +++ b/wisdom/rules of wisdom Fri Jun 02 10:25:48 2017 +0000 @@ -1,1 +1,1 @@ -unless essential for the entry‘s humor, should: be understandable without the lookup key, be single spaced with no space at the end, and use proper capitalization and punctuation +unless essential for the entry‘s humor, should: be understandable without the lookup key, be single spaced and end in a newline with no space before that, and use proper capitalization and punctuation \ No newline at end of file