view interps/c-intercal/c-intercal @ 1729:e8ac588c7085

<oerjan> sed -i \'s/is/iz/\' wisdom/gazspaczo
author HackBot
date Thu, 24 Jan 2013 23:21:44 +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/$$