Setting up todo.txt in cygwin I stumbled across the script not working due to the following error:
$ todo.sh ls
Input file specified two times.
--
TODO: 0 of 66 tasks shown
After some search it came clear that the problem was that todo.sh tried to use the windows internal sort command for sorting instead of the cygwin one. This can be solved by setting TODOTXT_SORT_COMMAND in the config file to “/bin/sort” instead of just “sort”. Now everything works fine.