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:
[X] Fork the repository and create your branch from master.
[X] If you've added code that should be tested, add tests!
[X] Ensure the test suite passes.
[ ] Format your code with ShellCheck. The completion didn't pass beforehand, the patch doesn't change the situation.
[ ] Include a human-readable description of what the pull request is trying to accomplish. No change in functionality.
[ ] Steps for the reviewer(s) on how they can manually QA the changes. Automated tests exist.
[ ] Have a fixes #XX reference to the issue that this pull request fixes. No issue, just refactoring.
… 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:
master
.fixes #XX
reference to the issue that this pull request fixes. No issue, just refactoring.