irc-bot/bot

10 lines
217 B
Plaintext
Raw Normal View History

2011-01-07 15:50:36 -07:00
#! /bin/sh
(
# UCSPI wants input on FD 7, and sets $PROTO
[ -n "$PROTO" ] && exec 1>&7
echo "NICK $1"
echo "USER $1 $1 $1 :I'm a little printf, short and stdout."
)
exec ./dispatch ./irc ./$1-handler