view interps/c-intercal/c-intercal @ 2274:23d6876c05ac

<shachaf> pastequotes itidus
author HackBot
date Wed, 27 Feb 2013 05:40:42 +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/$$