Commit Briefs
Release 0.1.1 (tags/0.1.1)
build: replace '==' with 'is'
See explanation in [1]. 1. http://jaredgrubb.blogspot.com/2009/04/python-is-none-vs-none.html
quotes: add new quotes in Russian
05:00, 08:00, 12:00, 16:00, 19:00
quotes: add new quotes in Russian
NOTE: quotes are duplicated in 09:00-09:59
quotes: add new quotes in Russian
NOTE: quotes are duplicated
quotes: add new quotes in Russian
09:00, 10:00, 11:00
build: print a number of unique quotes and percents
``` [0] ~/sources/litclock$ python build.py --filename quotes/quotes_ru.csv --dry-run File with quotes: quotes/quotes_ru.csv Number of quotes with unique time: 441 (31%) ```
script: fix escape code for disabling color
This fixes coloring in a ksh(1), Korn shell.
script: replace cut with read
Executing 'cut' five times per line makes running script quite slow. Patch replaces 'cut' with builtin 'read' that splits string to a number of variables. This speeds up execution of litclock for three times for a worst case. Path to a shell in shebang has been updated: dash(1) on Debian is not compatible with POSIX shell, for example it doesn't support redirection. Default shell in /bin/sh is replaced with path to Bash. However, litclock script is compatible with Korn shell, that is actually POSIX compatible.