view bin/! @ 12093:22a898920ef6 draft

<fizzie> sled /hackenv/bin/!//s|exec ibin|exec $HACKENV/ibin|
author HackEso <hackeso@esolangs.org>
date Sat, 16 Nov 2019 22:20:56 +0000
parents 49e31fac908c
children a8288b8b34ca
line wrap: on
line source

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