Emil Sit 31216fe365 _list: Fix line/item counting, accounting for blank lines.
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>
2009-04-03 07:42:43 +08:00
2009-03-19 18:52:47 -07:00

    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
Readme 6.3 MiB
Languages
Shell 98.7%
Makefile 1.3%