1
0

toki pona ucsur lookup

This commit is contained in:
dtb 2023-09-02 10:48:24 -04:00
parent ad13f0779e
commit e917e20416

24
toki/toki_ucsur Executable file
View File

@ -0,0 +1,24 @@
#!/bin/sh
set -e
test -e toki_common \
&& . ./toki_common \
|| . toki_common
test -z "$1" \
&& printf 'Usage: %s [nimi...]\n' "$0" >&2 \
&& exit 64 \
|| true # sysexits EX_USAGE
argv0="$0"
filter=".data.$1.ucsur"
if test -n "$2"
then while test -n "$2"
do filter="$filter, .data.$2.ucsur" \
&& shift
done
fi
jq -r "$filter" <$JASIMA