view bin/interp @ 9504:d17fc0757abc

<oerjan> sled bin/sed2//2c/bin/sed "$@" && if [[ $* == "3" && "/$1" == "/-i" ]]; then echo -n "$3//"; cat "$3"; fi
author HackBot
date Sat, 29 Oct 2016 19:25:56 +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"