projects
/
zc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95e93db
)
don't delete anything
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Thu, 5 May 2022 15:36:22 +0000
(17:36 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Thu, 5 May 2022 15:36:22 +0000
(17:36 +0200)
gnuplot/calc-offset-filter.sh
patch
|
blob
|
history
diff --git
a/gnuplot/calc-offset-filter.sh
b/gnuplot/calc-offset-filter.sh
index
0b066dc
..
d16a9cb
100755
(executable)
--- 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