Plan 9 from Bell Labs’s /usr/web/sources/contrib/sl/rc/shircsrv

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


#!/bin/rc -x
# for use with irc7
# rotate log and connect to server
rm -f /srv/slirc
ctime=`{ctime}
>/tmp/slirc.$ctime
chmod 700 /tmp/slirc.$ctime
cp /tmp/slirc /tmp/slirc.$ctime
rm /tmp/slirc
ircsrv -e stanleylieber tcp!chat.freenode.org!7070

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.