annotate bin/aseen @ 4256:197639beab9e

<oerjan> addquote <ion> Homeopathic encryption: add 9 parts NULs to 1 part of data, shake well into three directions, repeat the process 30 to 100 times.
author HackBot
date Thu, 02 Jan 2014 13:54:34 +0000
parents 7914d7e0b500
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2114
7914d7e0b500 <ais523> revert 87c64ef250a0
HackBot
parents:
diff changeset
1 #!/usr/bin/env bash
7914d7e0b500 <ais523> revert 87c64ef250a0
HackBot
parents:
diff changeset
2 n="<${1% }>"; n="${n,,}"
7914d7e0b500 <ais523> revert 87c64ef250a0
HackBot
parents:
diff changeset
3 while ((i++ < 30)) && read -r file
7914d7e0b500 <ais523> revert 87c64ef250a0
HackBot
parents:
diff changeset
4 do awk -vf="${file##*/}" -vn="$n" 'tolower($2) ~ n{x=$0} END{if(!x) exit 1; print f,x}' "$file" && exit;
7914d7e0b500 <ais523> revert 87c64ef250a0
HackBot
parents:
diff changeset
5 done < <(ls -r /var/irclogs/_esoteric/????-??-??.txt)
7914d7e0b500 <ais523> revert 87c64ef250a0
HackBot
parents:
diff changeset
6 echo "not lately"
7914d7e0b500 <ais523> revert 87c64ef250a0
HackBot
parents:
diff changeset
7