#!/bin/sh rawjson=$(curl -s https://hltv-api.vercel.app/api/matches.json) echo $rawjson | jq -r '.[] | select(.teams[].name!="") | "\(.teams[0].name) vs \(.teams[1].name) - \(.time)"' | uniq