view bin/pastlog @ 11304:ab489b19b975

<int-e> ` echo \'#! /bin/bash\' > bin/morse-decode; echo \'args_or_input | /hackenv/lib/morse-decode\' >> bin/morse-decode # for sanity
author HackBot
date Fri, 05 Jan 2018 00:55:01 +0000
parents e037173e0012
children
line wrap: on
line source

#!/bin/sh
cd /var/irclogs/_esoteric
grep -P -i -- "$1" $(ls ????-??-??.txt | head -n -1) | shuf -n 1