SedBot

From SoylentNews
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Running sedbot:

TERMINAL 1:

sudo apt-get install ii gawk
mkdir ~/irc
wget https://raw.githubusercontent.com/FoobarBazbot/sedbot/master/sedbot.awk -O ~/irc/sedbot.awk
# comment out or delete line 11 of the awk file
sed -i 11d ~/irc/sedbot.awk
ii -s irc.sylnt.us -p 6667 -n SedBot2 -f SedBot2

TERMINAL 2:

echo "/j #soylent" > ~/irc/irc.sylnt.us/in
tail -Fn1 ~/irc/irc.sylnt.us/#soylent/out | ~/irc/sedbot.awk outfile=~/irc/irc.sylnt.us/#soylent/in