Mercurial > repo
changeset 7969:aa97cf04e8f6
<b_jonas> `` >bin/lastwisdoms echo $\'#!/bin/sh\\n\'\'exec hg log --template "{date|shortdate}\\0{files}\\0" -I "wisdom/**" | perl -0ne \'\\\'\'chomp;$s{$_}++and next;s"^wisdom/"";print$_," ";\'\\\' && chmod -c a+x bin/lastwisdoms
author | HackBot |
---|---|
date | Sun, 08 May 2016 11:38:16 +0000 |
parents | 7f44f8bd7f75 |
children | 21888741373f |
files | bin/lastwisdoms |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/bin/lastwisdoms Sun May 08 11:36:29 2016 +0000 +++ b/bin/lastwisdoms Sun May 08 11:38:16 2016 +0000 @@ -1,2 +1,2 @@ #!/bin/sh -exec hg log --template "{date|shortdate}\0{files}\0" -I "wisdom/**" | perl -0ne 'chomp;if(/^[0-9].*/){$d eq$_ and next;$d=$_}else{s"^wisdom/""}print$_," ";' +exec hg log --template "{date|shortdate}\0{files}\0" -I "wisdom/**" | perl -0ne 'chomp;$s{$_}++and next;s"^wisdom/"";print$_," ";'