31216fe365a20c1e87f809d07e5fba930f5d261b
If a file had blank lines or was totally empty, _list would result in an in-correct count of total items (either "" or the number of lines, instead of the number of items). This commit splits the filtering into three phases: line numbering, filtering (optional), and post-processing, and then does counting separately, if desired. Signed-off-by: Emil Sit <sit@emilsit.net> Signed-off-by: Gina Trapani <ginatrapani@gmail.com>
TODO.TXT Command Line Interface
Latest version: http://github.com/ginatrapani/todo.txt-cli/tree/master
First release: 5/11/2006
Conceived and released by: Gina Trapani (http://ginatrapani.org)
Contributors: http://github.com/ginatrapani/todo.txt-cli/network
License: GPL, http://www.gnu.org/copyleft/gpl.html
More information and mailing list at http://todotxt.com
To submit patches, fork the repository at http://github.com/ginatrapani/todo.txt-cli/tree/master
Description
☑ A simple and extensible shell script for managing your todo.txt file.
http://todotxt.org
Languages
Shell
98.7%
Makefile
1.3%