Mercurial > repo
view bin/pastlog @ 3331:d648a4814871
<monotone> (echo \'#!/usr/bin/tail -1\'; echo \'meow meow meow meow\') > bin/cats && chmod +x bin/cats
author | HackBot |
---|---|
date | Wed, 31 Jul 2013 00:52:12 +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