Todo.txt in Cygwin: Remember there is a windows sort!

Setting up todo.txt in cygwin I stumbled across the script not working due to the following error:

$ ls
Input file specified two times.

TODO: 0 of 66 tasks shown

After some search it came clear that the problem was that 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.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.