view bin/lastwisdoms @ 12214:4d504750c68e draft

<oerjan> slwd locale//s,on.*le,one true locale,
author HackEso <hackeso@esolangs.org>
date Sat, 30 Nov 2019 02:12:16 +0000
parents 157ed35cafd4
children
line wrap: on
line source

find $HACKENV/.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'