MINOR: Removed unnecessary empty & reference in sed substitution.
This commit is contained in:
2
todo.sh
2
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"
|
||||
|
||||
Reference in New Issue
Block a user