comparison lib/interp @ 12228:6cb5704166cb draft

<oerjan> revert
author HackEso <hackeso@esolangs.org>
date Wed, 04 Dec 2019 04:32:51 +0000
parents 9cb638b68832
children
comparison
equal deleted inserted replaced
12227:9cb638b68832 12228:6cb5704166cb
1 #!/bin/sh 1 #!/bin/sh
2 2
3 export I_CMD="$0" 3 export I_CMD="$0"
4 export I_ARG="$1" 4 export I_ARG="$1"
5 export ARG_FILE="/tmp/input.$$" 5 export ARG_FILE="/tmp/input.$$"
6 echo $ARGFILE
7 6
8 get_arg() { 7 get_arg() {
9 #if expr "$I_ARG" : "http://" > /dev/null 8 #if expr "$I_ARG" : "http://" > /dev/null
10 #then 9 #then
11 # wget $WGET_OPTIONS "$I_ARG" -O "$ARG_FILE" 10 # wget $WGET_OPTIONS "$I_ARG" -O "$ARG_FILE"