-
-
Save davosian/b790a05acfc40d1b4e3cddc4cce4b94a to your computer and use it in GitHub Desktop.
A slot-program for retrieve German grocery terms for Rhasspy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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