From 0d16afce17ea41345464e581734aa0984262b5dd Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Thu, 5 May 2022 17:36:22 +0200 Subject: [PATCH] don't delete anything --- gnuplot/calc-offset-filter.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gnuplot/calc-offset-filter.sh b/gnuplot/calc-offset-filter.sh index 0b066dc..d16a9cb 100755 --- a/gnuplot/calc-offset-filter.sh +++ b/gnuplot/calc-offset-filter.sh @@ -10,6 +10,8 @@ cat calc-offset.sql | sed "s/90 days/$interval/" | psql -A -t -F' ' zc | grep -f grep -v -f /tmp/pn.filter offset.txt > offset.txt.partial cat offset.txt.partial offset.txt.new > offset.txt +exit 0 + echo "Press enter to remove old data or ctrl+c to abort" read wait_for_enter -- 2.20.1