view bin/interp @ 11301:6fae3200f233

<int-e> ` mv {bin,lib}/morse-decode; echo \'#!/hackenv/bin/shebang_args_or_input /hackenv/lib/morse-decode\' > bin/morse-decode; chmod +x bin/morse-decode
author HackBot
date Thu, 04 Jan 2018 23:48:26 +0000
parents c091565553db
children f4fa91b302cf 262988233ff7
line wrap: on
line source

#!/bin/sh
CMD=`echo "$1" | cut -d' ' -f1`
ARG=`echo "$1" | cut -d' ' -f2-`
exec ibin/$CMD "$ARG"