view interps/c-intercal/c-intercal @ 3574:a6c2d07d78a5

<Roujo> paste
author HackBot
date Fri, 30 Aug 2013 13:00:48 +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/$$