view interps/c-intercal/c-intercal @ 4097:6154e1c1b026

<oerjan> echo "Po\xc5\x82\xc4\x85\xc5\x84d is a European country. Its population consists of two main ethnicities, the North Po\xc5\x82es and the South Po\xc5\x82es." >wisdom/poland
author HackBot
date Fri, 29 Nov 2013 00:03:28 +0000
parents 859f9b4339e6
children 2dc7e24eca16
line wrap: on
line source

#!/bin/bash
if [ ! "$1" ]
then
    exit 1
fi

INTERCAL="`dirname $0`/inst"

cp "$1" /tmp/$$.i
$INTERCAL/bin/ick /tmp/$$.i
if [ -e /tmp/$$ ]
then
    /tmp/$$
fi
rm -f /tmp/$$.i /tmp/$$