Mercurial > repo
changeset 11879:998bedd945f6 draft
<oerjan> ` mv bin/{\\!,interp}
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Fri, 19 Jul 2019 04:10:38 +0000 |
parents | 18b7a610be4b |
children | e2c21af6e2d9 |
files | bin/! bin/interp |
diffstat | 2 files changed, 3 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/bin/! Thu Jul 18 19:19:56 2019 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,4 +0,0 @@ -#!/bin/bash -CMD=`echo -n "$1" | cut -d' ' -f1` -ARG="$(echo -n "$1" | cut -d' ' -f2-)" -exec ibin/$CMD "$ARG$2" \ No newline at end of file
--- a/bin/interp Thu Jul 18 19:19:56 2019 +0000 +++ b/bin/interp Fri Jul 19 04:10:38 2019 +0000 @@ -1,4 +1,4 @@ #!/bin/bash -CMD=`echo "$1" | cut -d' ' -f1` -ARG="$(echo "$1" | cut -d' ' -f2-)" -exec ibin/$CMD "$ARG" \ No newline at end of file +CMD=`echo -n "$1" | cut -d' ' -f1` +ARG="$(echo -n "$1" | cut -d' ' -f2-)" +exec ibin/$CMD "$ARG$2" \ No newline at end of file