view bin/! @ 11876:3a6f3f0df04f draft

<ais523> ` sed -i -e \'s/echo/echo -n/\' \'bin/!\'
author HackEso <hackeso@esolangs.org>
date Wed, 17 Jul 2019 22:26:09 +0000
parents 79be353c9afe
children
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"