annotate bin/interp @ 12500:e48c08805365 draft default tip

<b_jonas> ` learn \'The password of the month is Cthulhuquagdonic Mothraquagdonic Narwhalicorn.\' # https://logs.esolangs.org/libera-esolangs/2024-04.html#lKE Infinite craft
author HackEso <hackeso@esolangs.org>
date Wed, 01 May 2024 06:39:10 +0000
parents 8e2e8092500d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11692
d84f4b4245bf <oerjan> sled bin/interp//s,bin/sh,bin/bash,
HackEso <hackeso@esolangs.org>
parents: 11691
diff changeset
1 #!/bin/bash
11879
998bedd945f6 <oerjan> ` mv bin/{\\!,interp}
HackEso <hackeso@esolangs.org>
parents: 11692
diff changeset
2 CMD=`echo -n "$1" | cut -d' ' -f1`
998bedd945f6 <oerjan> ` mv bin/{\\!,interp}
HackEso <hackeso@esolangs.org>
parents: 11692
diff changeset
3 ARG="$(echo -n "$1" | cut -d' ' -f2-)"
12098
8e2e8092500d <fizzie> sled /hackenv/bin/interp//s|exec ibin/|exec $HACKENV/ibin/|
HackEso <hackeso@esolangs.org>
parents: 11879
diff changeset
4 exec $HACKENV/ibin/$CMD "$ARG$2"