From 20fcf2a0c79b8433bf67594d45af54001ca1b613 Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch
Date: Thu, 7 Oct 2021 16:26:57 +0200 Subject: tabfile: make it possible to set metadata And some related clean-up. --- dicts/slovnik-cizich-slov.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'dicts') diff --git a/dicts/slovnik-cizich-slov.sh b/dicts/slovnik-cizich-slov.sh index cb99ea1..bc6bd9a 100755 --- a/dicts/slovnik-cizich-slov.sh +++ b/dicts/slovnik-cizich-slov.sh @@ -5,4 +5,8 @@ curl -Lo- https://slovnik-cizich-slov.abz.cz/export.php | \ iconv -f latin2 -t UTF-8 | perl -CSD -F\\\| -le ' print "$_\t" . $F[2] =~ s/\\/\\\\/gr =~ s/; /\\n/gr for split(", ", $F[0]) -' | sort -u | tabfile slovnik-cizich-slov +' | sort -u | tabfile slovnik-cizich-slov \ + --book-name="Slovník cizích slov" \ + --website=https://slovnik-cizich-slov.abz.cz \ + --date="$(date +%F)" \ + --collation=cs_CZ -- cgit v1.2.3-70-g09d2