Skip to content

Instantly share code, notes, and snippets.

@ahue
Created February 14, 2021 07:43
  • Select an option

Select an option

A slot-program for retrieve German grocery terms for Rhasspy
#!/usr/bin/env bash
set -e
url="https://web.getbring.com/locale/articles.de-DE.json"
echo "GET ${url}" >&2
curl -X GET \
-H 'Content-Type: application/json' \
"${url}" | \
jq --raw-output 'to_entries[] as $e | "\($e.value)"' | \
grep "^[[:alpha:] ]*$"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment