comparison bin/interp @ 12098:8e2e8092500d draft

<fizzie> sled /hackenv/bin/interp//s|exec ibin/|exec $HACKENV/ibin/|
author HackEso <hackeso@esolangs.org>
date Sat, 16 Nov 2019 22:25:48 +0000
parents 998bedd945f6
children
comparison
equal deleted inserted replaced
12097:c9f5afad5250 12098:8e2e8092500d
1 #!/bin/bash 1 #!/bin/bash
2 CMD=`echo -n "$1" | cut -d' ' -f1` 2 CMD=`echo -n "$1" | cut -d' ' -f1`
3 ARG="$(echo -n "$1" | cut -d' ' -f2-)" 3 ARG="$(echo -n "$1" | cut -d' ' -f2-)"
4 exec ibin/$CMD "$ARG$2" 4 exec $HACKENV/ibin/$CMD "$ARG$2"