Posted on Tue 26 January 2016

There was a little problem with my alias to reset a .taskpaper list by removing all of the @dones. It didn't remove any spaces before the @done, so each line would gain a space every day. This fixes it:

alias rst="sed -i '' 's/ *@done\(.*\)//g'"

Now it removes ...

There was a little problem with my alias to reset a .taskpaper list by removing all of the @dones. It didn't remove any spaces before the @done, so each line would gain a space every day. This fixes it:

alias rst="sed -i '' 's/ *@done\(.*\)//g'"

Now it removes one or more spaces that could be before @done.


comments powered by Disqus

Links