view bin/lastwisdoms @ 12308:8618e3604ab7 draft

<shachaf> learn The password of the month is always set on the 12th of the month.
author HackEso <hackeso@esolangs.org>
date Wed, 12 Feb 2020 01:18:55 +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'