changeset 11875:79be353c9afe draft

<ais523> ` sed -i -e \'s/ARG"$/ARG$2"/\' \'bin/!\'
author HackEso <hackeso@esolangs.org>
date Wed, 17 Jul 2019 22:21:25 +0000
parents 1fc7b017c0a4
children 3a6f3f0df04f
files bin/!
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bin/!	Wed Jul 17 22:07:26 2019 +0000
+++ b/bin/!	Wed Jul 17 22:21:25 2019 +0000
@@ -1,1 +1,4 @@
-interp
\ No newline at end of file
+#!/bin/bash
+CMD=`echo "$1" | cut -d' ' -f1`
+ARG="$(echo "$1" | cut -d' ' -f2-)"
+exec ibin/$CMD "$ARG$2"
\ No newline at end of file