Browse Source

todolist: fix sed parameters

master
Maxim Likhachev 4 years ago
parent
commit
60c45a3cd3
  1. 2
      scripts/todolist

2
scripts/todolist

@ -13,7 +13,7 @@ fi @@ -13,7 +13,7 @@ fi
if git rev-parse --show-toplevel &>/dev/null; then
$GREP_CMD "^[[:space:]]*[#/\";-]*[[:space:]]*TODO:" . \
| expand \
| sed -r 's/([[:digit:]]):/\1:@@ /' \
| sed -E 's/([[:digit:]]):/\1:@@ /' \
| tr -s ' ' \
| column -t -s '@@'
fi

Loading…
Cancel
Save