aspcud 179 B

123456789
  1. #!/bin/sh -e
  2. SERVER=cudf-solvers.irill.org
  3. if bzip2 -c $1 | curl -f --data-binary @- http://$SERVER/cudf.bz2?criteria="$3" | bunzip2 -c > $2;
  4. then exit 0
  5. else echo FAIL > $2
  6. fi