view bin/lastwisdoms @ 12083:157ed35cafd4 draft

<fizzie> sled /hackenv/bin/lastwisdoms//s|find .hg|find $HACKENV/.hg|;s|s=\\^\\.hg|s=^.*?.hg|
author HackEso <hackeso@esolangs.org>
date Sat, 16 Nov 2019 22:07:34 +0000
parents c989a1669243
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'