I am no export, but using this now:

curl -s "https://tails.boum.org/install/v2/Tails/amd64/stable/latest.json"; | jq  . | awk -F'"' '{ for(i=1; i<=NF; i++) { if($i ~ /^http/) print $i } } '

but it is no pure jq


gd

Op 25/01/19 om 09:57 schreef intrigeri:
Hi,

linux-service:
Ok, but i am not able you get the correct jq code to retrieve the url.
The - character is making some problems,,,
Can you please share the exact command you're running and the error
you get?  (If our JSON is not strictly valid enough, we can fix that.
If jq is buggy, there are plenty of other JSON parsers around.)

Cheers,
_______________________________________________
Tails-dev mailing list
Tails-dev@boum.org
https://www.autistici.org/mailman/listinfo/tails-dev
To unsubscribe from this list, send an empty email to 
tails-dev-unsubscr...@boum.org.

Reply via email to