view bin/aseen @ 3243:b16673df707a

<elliott> addquote <Bike> Fiora: how long does it take to factor 8616460799 <Fiora> Bike: I think using gnfs to factor that would be like using a nuclear weapon to sterilize a needle
author HackBot
date Thu, 27 Jun 2013 00:07:27 +0000
parents 7914d7e0b500
children
line wrap: on
line source

#!/usr/bin/env bash
n="<${1% }>"; n="${n,,}"
while ((i++ < 30)) && read -r file
do awk -vf="${file##*/}" -vn="$n" 'tolower($2) ~ n{x=$0} END{if(!x) exit 1; print f,x}' "$file" && exit;
done < <(ls -r /var/irclogs/_esoteric/????-??-??.txt)
echo "not lately"