Skip to content

Instantly share code, notes, and snippets.

@bobmurder
Created November 12, 2012 03:16
Show Gist options
  • Save bobmurder/4057294 to your computer and use it in GitHub Desktop.
Save bobmurder/4057294 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
log_dir=~/irclogs/crawl
rm ~/names
grep -ir "$1" "$log_dir" | grep -oE "< [[:alnum:]]+>" | grep -ivE "(Henzell|Sequell|Gretell|Sizzell)" >> ~/names
python name_counts.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment