todotxt / todo.txt-cli

☑️ A simple and extensible shell script for managing your todo.txt file.
http://todotxt.org
GNU General Public License v3.0
5.56k stars 713 forks source link

Refactoring: Extract the many complex sed arguments into sedTransformations #273

Closed inkarkat closed 4 years ago

inkarkat commented 5 years ago

… and move the comments closer

There's too much distance between the comments that describe the various transformations that are done on the referenced task, and the corresponding sed expressions. By using a local Bash array, we can collect the arguments and have the comments close by.

Before submitting a pull request, please make sure the following is done: