view interps/glass/README @ 7759:b4341511eb47

<fizzie> ` echo -e \'#! /bin/bash\\ncmd="$1"\\nshift\\nf="$*"\\nif [ -z "$f" && "$f" == *\\\\ * ]; then f="${cmd#* }"; cmd="${cmd%% *}"; fi\\nif [ -z "$f" ]; then echo try: \\\\`f command filename; else "$cmd" "$(< "$f")"; fi\' > bin/f
author HackBot
date Wed, 04 May 2016 21:35:48 +0000
parents 859f9b4339e6
children
line wrap: on
line source

Please see http://www.esolangs.org/wiki/Glass

To make the IRC bot, use:
make clean all CXXFLAGS="-O2 -g -DIRC"

To run it, modify glassIRC.sh to fit your needs then:
nc -e ./glassIRC.sh irc.freenode.net 6667