view bin/lastwisdoms @ 8798:8e7e00ff9a72

<shachaf> ` mkdir s; ln -s ../bin/sled s/ed; ln -s ../bin/slwd s/wd
author HackBot
date Tue, 12 Jul 2016 02:30:30 +0000
parents 3800bd1a5e3e
children
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'