comparison lib/interp @ 12227:9cb638b68832 draft

<oerjan> t sled lib/interp//6iecho $ARGFILE
author HackEso <hackeso@esolangs.org>
date Wed, 04 Dec 2019 04:28:21 +0000
parents 7b17fe055014
children 6cb5704166cb
comparison
equal deleted inserted replaced
12226:eeeb50d688b7 12227:9cb638b68832
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
6 7
7 get_arg() { 8 get_arg() {
8 #if expr "$I_ARG" : "http://" > /dev/null 9 #if expr "$I_ARG" : "http://" > /dev/null
9 #then 10 #then
10 # wget $WGET_OPTIONS "$I_ARG" -O "$ARG_FILE" 11 # wget $WGET_OPTIONS "$I_ARG" -O "$ARG_FILE"