Mercurial > repo
view bin/show @ 3495:71eafcffacc8
<oerjan> addquote <fizzie> Possible business plan: data storage on the moon? <fizzie> Getting at it after the collapse of civilization here might be an issue. <boily> who cares about civilization? you have backups!
author | HackBot |
---|---|
date | Tue, 27 Aug 2013 22:10:41 +0000 |
parents | 859f9b4339e6 |
children |
line wrap: on
line source
#!/bin/sh . lib/dcc # Sanitize INTERP=`echo "$2" | sed 's/[^A-Za-z0-9]/_/g'` if [ ! -e subinterps/"$INTERP".cmd ] then echo 'That is not a user interpreter!' exit 1 fi if [ "`wc -l subinterps/$INTERP.arg | sed 's/ .*//'`" -gt 1 ] then echo "`cat subinterps/$INTERP.cmd`" '(sending via DCC)' dcc_chat $IRC_NICK < subinterps/$INTERP.arg else echo "`cat subinterps/$INTERP.cmd`" "`cat subinterps/$INTERP.arg`" fi