From a117b7cb3cc34792e4561273ee307a70bca506cf Mon Sep 17 00:00:00 2001 From: Ingo Karkat Date: Thu, 30 Dec 2010 23:19:57 +0100 Subject: [PATCH] MINOR: Removed unnecessary empty & reference in sed substitution. --- todo.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/todo.sh b/todo.sh index 4d0fb15..e04ed37 100755 --- a/todo.sh +++ b/todo.sh @@ -882,7 +882,7 @@ case $action in now=`date '+%Y-%m-%d'` # remove priority once item is done sed -i.bak $item"s/^(.) //" "$TODO_FILE" - sed -i.bak $item"s|^|&x $now |" "$TODO_FILE" + sed -i.bak $item"s|^|x $now |" "$TODO_FILE" if [ $TODOTXT_VERBOSE -gt 0 ]; then newtodo=$(sed "$item!d" "$TODO_FILE") echo "$item $newtodo"