From 88ac3d87e67c0389e47419f56fbe3a6bfe5ae50b Mon Sep 17 00:00:00 2001 From: Ingo Karkat Date: Sat, 14 Jan 2012 14:41:58 +0100 Subject: [PATCH] Remove inactive broken report header. This was meant to write a report header on the initial report run, but as it mistakenly used TODO_FILE instead of REPORT_FILE, it was inactive, and also missing in the tests. Let's just remove it; the format is simple, anyway. --- todo.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/todo.sh b/todo.sh index 4929551..a9c619e 100755 --- a/todo.sh +++ b/todo.sh @@ -1220,11 +1220,6 @@ note: PRIORITY must be anywhere from A to Z." # action. "$TODO_FULL_SH" archive - NUMLINES=$( sed -n '$ =' "$TODO_FILE" ) - if [ ${NUMLINES:-0} = "0" ]; then - echo "datetime todos dones" >> "$REPORT_FILE" - fi - #now report TOTAL=$( sed -n '$ =' "$TODO_FILE" ) TDONE=$( sed -n '$ =' "$DONE_FILE" ) TECHO=$(echo $(date +%Y-%m-%d-%T); echo ' '; echo ${TOTAL:-0}; echo ' ';