annotate bin/show @ 5612:794f3859f02c
<tswett> learn sex is a board game which originated in Britain in the 1870s before spreading throughout Europe in the 1890s. Sex was introduced to the rest of the world by a book, "The Complete Guide to Sex", written and published by Taneb in 1932, based on Taneb\'s extensive experience with a wide variety of forms of European sex.
author |
HackBot |
date |
Thu, 18 Jun 2015 01:06:51 +0000 |
parents |
859f9b4339e6 |
children |
|
rev |
line source |
996
|
1 #!/bin/sh
|
|
2 . lib/dcc
|
|
3
|
|
4 # Sanitize
|
|
5 INTERP=`echo "$2" | sed 's/[^A-Za-z0-9]/_/g'`
|
|
6
|
|
7 if [ ! -e subinterps/"$INTERP".cmd ]
|
|
8 then
|
|
9 echo 'That is not a user interpreter!'
|
|
10 exit 1
|
|
11 fi
|
|
12
|
|
13 if [ "`wc -l subinterps/$INTERP.arg | sed 's/ .*//'`" -gt 1 ]
|
|
14 then
|
|
15 echo "`cat subinterps/$INTERP.cmd`" '(sending via DCC)'
|
|
16 dcc_chat $IRC_NICK < subinterps/$INTERP.arg
|
|
17 else
|
|
18 echo "`cat subinterps/$INTERP.cmd`" "`cat subinterps/$INTERP.arg`"
|
|
19 fi
|