# HG changeset patch # User HackBot # Date 1462707496 0 # Node ID aa97cf04e8f6d4ade01c1d68f36884337e34bde6 # Parent 7f44f8bd7f75e5768c81ea28f9c8cf8cf5c03761 `` >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 diff -r 7f44f8bd7f75 -r aa97cf04e8f6 bin/lastwisdoms --- 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$_," ";'