fork download
  1. #!/bin/bash
  2. RESULTS='{ "results" : [ { "repo" : "appdeploy", "path" : "org/test/cxp/python/1.0-SNAPSHOT", "name" : "python-1.0-20170519.130808-42.jar" } ], "range" : { "start_pos" : 0, "end_pos" : 1, "total" : 1 } }'
  3. echo $RESULTS | grep -oP '(?<="path" : ")[^"]+'
Success #stdin #stdout 0s 19616KB
stdin
Standard input is empty
stdout
org/test/cxp/python/1.0-SNAPSHOT