#!/bin/bash resp=$(curl -b "api_key=***" https://api.www.root-me.org/auteurs) echo "$resp" | sed -e "s/},/}}\n{/g" | grep id_auteur | head -3