From b66dcb8c0b0790c32a620d881bc631ecc37b99a1 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Tue, 15 Dec 2015 14:59:36 -0500 Subject: [PATCH] hw: Remove useless variable --- hw | 2 -- 1 file changed, 2 deletions(-) diff --git a/hw b/hw index 256f06d..10aff6c 100755 --- a/hw +++ b/hw @@ -53,10 +53,8 @@ else then inDate="$(textToDate "$1" | tr -d '-' | cut -f1)" fi - x=0 for i in $("$TODO_FULL_SH" list | grep "+hw") do - x=$(($x+1)) date=$(grep -oP "due:\K[0-9-]*" <<< "$i"| tr -d '-' | cut -f1) if [ "$date" -le "$today" ] then