view bin/interp @ 11942:4642242a7945 draft

<wib_jonas> fetch bin/beat https://hack.esolangs.org/get/bin/beat
author HackEso <hackeso@esolangs.org>
date Tue, 17 Sep 2019 13:32:58 +0000
parents 998bedd945f6
children 8e2e8092500d
line wrap: on
line source

#!/bin/bash
CMD=`echo -n "$1" | cut -d' ' -f1`
ARG="$(echo -n "$1" | cut -d' ' -f2-)"
exec ibin/$CMD "$ARG$2"