From 60c45a3cd31853f11d6c8b36223b64ba48461cae Mon Sep 17 00:00:00 2001 From: Maxim Likhachev Date: Sat, 23 Jan 2021 03:43:57 +0300 Subject: [PATCH] todolist: fix sed parameters --- scripts/todolist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/todolist b/scripts/todolist index b37dd75..7fec811 100755 --- a/scripts/todolist +++ b/scripts/todolist @@ -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