annotate tmp-interp @ 12129:49a4b4d9f2d7 draft

<fizzie> fetch tmp-interp https://hack.esolangs.org/get/bin/interp
author HackEso <hackeso@esolangs.org>
date Sun, 17 Nov 2019 00:58:53 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
12129
49a4b4d9f2d7 <fizzie> fetch tmp-interp https://hack.esolangs.org/get/bin/interp
HackEso <hackeso@esolangs.org>
parents:
diff changeset
1 #!/bin/bash
49a4b4d9f2d7 <fizzie> fetch tmp-interp https://hack.esolangs.org/get/bin/interp
HackEso <hackeso@esolangs.org>
parents:
diff changeset
2 CMD=`echo -n "$1" | cut -d' ' -f1`
49a4b4d9f2d7 <fizzie> fetch tmp-interp https://hack.esolangs.org/get/bin/interp
HackEso <hackeso@esolangs.org>
parents:
diff changeset
3 ARG="$(echo -n "$1" | cut -d' ' -f2-)"
49a4b4d9f2d7 <fizzie> fetch tmp-interp https://hack.esolangs.org/get/bin/interp
HackEso <hackeso@esolangs.org>
parents:
diff changeset
4 cd ${HACKENV-/hackenv}
49a4b4d9f2d7 <fizzie> fetch tmp-interp https://hack.esolangs.org/get/bin/interp
HackEso <hackeso@esolangs.org>
parents:
diff changeset
5 exec ibin/$CMD "$ARG$2"