Skip to content

Instantly share code, notes, and snippets.

@mtrovo
Created September 23, 2015 16:17
Show Gist options
  • Save mtrovo/977b7350998b777a1ee0 to your computer and use it in GitHub Desktop.
Save mtrovo/977b7350998b777a1ee0 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
channel=$1
if [ -z "$2" ]; then
date=`date +%Y-%m-%d`
else
date=$2
fi
curl -s "http://eavesdrop.openstack.org/irclogs/%23$channel/%23$channel.$date.log" | iconv -f utf-8 | grep -vF "***"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment