Mercurial > repo
comparison lib/interp @ 4930:7b17fe055014
<oerjan> sed -i \'12s/\\\\n//\' lib/interp
author | HackBot |
---|---|
date | Mon, 29 Sep 2014 08:58:21 +0000 |
parents | d6d2d7192923 |
children | 9cb638b68832 |
comparison
equal
deleted
inserted
replaced
4929:b4364750d576 | 4930:7b17fe055014 |
---|---|
7 get_arg() { | 7 get_arg() { |
8 #if expr "$I_ARG" : "http://" > /dev/null | 8 #if expr "$I_ARG" : "http://" > /dev/null |
9 #then | 9 #then |
10 # wget $WGET_OPTIONS "$I_ARG" -O "$ARG_FILE" | 10 # wget $WGET_OPTIONS "$I_ARG" -O "$ARG_FILE" |
11 #else | 11 #else |
12 printf '%s\n' "$I_ARG" > "$ARG_FILE" | 12 printf '%s' "$I_ARG" > "$ARG_FILE" |
13 #fi | 13 #fi |
14 } | 14 } |
15 | 15 |
16 clean_arg() { | 16 clean_arg() { |
17 rm -f "$ARG_FILE" | 17 rm -f "$ARG_FILE" |