Mercurial > repo
annotate interps/c-intercal/c-intercal @ 11278:645d2116c22b
<int-e> le/rn LBA//This channel is having a Little Big Adventure(tm) with Linear Bounded Automata in devices using Logical Block Addressing.
author | HackBot |
---|---|
date | Mon, 18 Dec 2017 21:30:24 +0000 |
parents | afc311c3d00b |
children |
rev | line source |
---|---|
996 | 1 #!/bin/bash |
5190
afc311c3d00b
<int-e> ` sed -i 1a"export CPATH=/hackenv/interps/c-intercal/inst/include/ick-0.29" interps/c-intercal/c-intercal
HackBot
parents:
5189
diff
changeset
|
2 export CPATH=/hackenv/interps/c-intercal/inst/include/ick-0.29 |
996 | 3 if [ ! "$1" ] |
4 then | |
5 exit 1 | |
6 fi | |
7 | |
8 INTERCAL="`dirname $0`/inst" | |
9 | |
10 cp "$1" /tmp/$$.i | |
11 $INTERCAL/bin/ick /tmp/$$.i | |
12 if [ -e /tmp/$$ ] | |
13 then | |
14 /tmp/$$ | |
15 fi | |
16 rm -f /tmp/$$.i /tmp/$$ |