git.schokokeks.org
Repositories
Help
Report an Issue
fs-words.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
2c85dc4
Branches
Tags
develop-client_server
master
typescript
fs-words.git
scripts
translate.sh
added remember
Fenris Wolf
commited
2c85dc4
at 2017-02-10 20:09:03
translate.sh
Blame
History
Raw
#!/usr/bin/env sh if [ "$#" -ge 1 ] ; then language=$1 && shift ; else language="*" ; fi if [ "$#" -ge 1 ] ; then lemma=$1 && shift ; else lemma="*" ; fi cat queries/translate.sql \ | sed --expression="s:\${language}:${language}:g" \ | sed --expression="s:\${lemma}:${lemma}:g" \ | sqlite3 db/words.sqlite \ | cat -