view bin/lastwisdoms @ 10509:2b7ce722bfa2

<wob_jonas> `` >bin/starwars echo $\'#!perl\\n\'\'@c=split/\\|/,"M0|M1|M2";print$c[rand@c],"\\n";\' && chmod -c a+x bin/starwars
author HackBot
date Sun, 26 Mar 2017 01:56:33 +0000
parents c989a1669243
children 157ed35cafd4
line wrap: on
line source

find .hg/store/data/wisdom -type f -print0 | xargs -0 /bin/ls -t | perl -pe 'use POSIX;chop;$d=strftime("%F",localtime((stat($_))[9]));s=^.hg/store/data/wisdom/(.*).i$=\1 // =;s=^=/$d/ = if$d ne$p;$p=$d;s=_(.)=uc($1)=eg;s=~([0-9a-f][0-9a-f])=chr hex$1=eg'