ginatrapani/todo.txt-cli — pull request #72 by inkarkat (2012-01-23 11:18:36+00:00)
Title: Optimization: Put grep -v empty task filter inside sed.

Second try... I think I've found and fixed the previous issue that caused test failures on OS X (but could test only on the similar BSD).

The sed on OS X does not understand the \+ bound, only in the form of + when used with -E. Instead, I chose to fall back to the \{1,\} basic regexp, in the hope that it is very portable, and to avoid introducing extended regexps to the script.