Dado o comando:
echo "[\"tag1\", \"[[Super\", \"Duppa\", \"Database\", \"Analyst]]\", \"tag2\"]" | jq -f ~/somefilter.jq
E o filtro:
def hasOne(x): x | (startswith("[[") or endswith("]]") );
def looparr(r): [ r | keys[] as $i | r[...
14.06.2017 / 04:21