Skip to content

Instantly share code, notes, and snippets.

@smujohnson
smujohnson / ircsed
Last active September 13, 2015 15:27 — forked from izabera/ircsed
a simple irc bot written in sed
#!/bin/bash
owner=izabera nick=sedirc network=irc.freenode.net
echo "
# send bot data
1 {
s/.*/nick $nick/p
s/.*/user $nick $nick $nick :$nick/p
s/.*/cat factoids 2>\/dev\/null/e; H
b