[project @ 2005-06-01 00:27:44 by unknown_lamer]
[clinton/bobotpp.git] / scripts / uname
CommitLineData
cb21075d 1(use-modules (ice-9 popen))
2
3(define (uname c)
4 (let* ((p (open-input-pipe "/bin/uname -a"))
5 (s (read-line p)))
6 (close-pipe p)
439869bf 7 (bot:say c s)))
cb21075d 8
439869bf 9(bot:addcommand "uname" uname #t 0 1)