You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

client.sh 209B

12345678
  1. #!/bin/sh
  2. # usqge: client.sh UPLOAD_ID PROGRESS_URL
  3. cont=""
  4. while [ "$cont" != "new Object({ 'state' : 'done' })" ]
  5. do
  6. cont=`curl -s -H "x-progress-id: $1" $2 | sed -e 's/[\n\r]//'`
  7. echo "[$1] '$cont'"
  8. done