Commits

Jakub Wilk committed 921e9f3

djvu-wget: use $() instead of backticks.

  • Participants
  • Parent commits 44f9bcb

Comments (0)

Files changed (1)

 fi
 uri="$1"
 wget -nv -- "$1"
-base=`printf '%s' "$uri" | sed -e 's/\(.*\)[/].*/\1/'`
-index=`printf '%s' "$uri" | sed -e 's/.*[/]\(.*\)/\1/'`
-printf "$base/%s\n" `djvudump "$index" | sed -n -e '/.*-> \(.*\)/ { s//\1/p; }'` | wget -nv -i -
+base=$(printf '%s' "$uri" | sed -e 's/\(.*\)[/].*/\1/')
+index=$(printf '%s' "$uri" | sed -e 's/.*[/]\(.*\)/\1/')
+printf "$base/%s\n" $(djvudump "$index" | sed -n -e '/.*-> \(.*\)/ { s//\1/p; }') | wget -nv -i -