hw: Remove useless variable
This commit is contained in:
parent
8b9cfd0456
commit
b66dcb8c0b
2
hw
2
hw
@ -53,10 +53,8 @@ else
|
|||||||
then
|
then
|
||||||
inDate="$(textToDate "$1" | tr -d '-' | cut -f1)"
|
inDate="$(textToDate "$1" | tr -d '-' | cut -f1)"
|
||||||
fi
|
fi
|
||||||
x=0
|
|
||||||
for i in $("$TODO_FULL_SH" list | grep "+hw")
|
for i in $("$TODO_FULL_SH" list | grep "+hw")
|
||||||
do
|
do
|
||||||
x=$(($x+1))
|
|
||||||
date=$(grep -oP "due:\K[0-9-]*" <<< "$i"| tr -d '-' | cut -f1)
|
date=$(grep -oP "due:\K[0-9-]*" <<< "$i"| tr -d '-' | cut -f1)
|
||||||
if [ "$date" -le "$today" ]
|
if [ "$date" -le "$today" ]
|
||||||
then
|
then
|
||||||
|
Loading…
Reference in New Issue
Block a user