added various scripts

This commit is contained in:
Tobias Kessels committed 2017-09-18 11:47:26 +02:00
1 parent 0c4de86701
commit 44c78db199
25 files changed
+678 -1

No files matched your search

Executable
+16
View File
@@ -0,0 +1,16 @@
#!/bin/bash
max=0
open=0
grep -Po "</?div" OFFIZIELLE\ GEWINN...htigung\ und\ letzter\).eml | while read tag; do
if [[ "$tag" == "<div" ]] ; then
(( open++ ))
else
(( open--))
fi
echo "$open - $max"
if [[ $open -gt $max ]] ; then
max=$open
fi
done