forked from vv01f/ccc-map
filter actual members
This commit is contained in:
parent
39f8a983ca
commit
32452c4596
|
@ -9,6 +9,7 @@ if test -e $ofn".csv" ; then
|
|||
echo "$fae"
|
||||
else
|
||||
libreoffice --headless --convert-to csv:"Text - txt - csv (StarCalc)":"59,,76,3,1/1/2/2/2" $if || { echo "errors during export to csv"; exit 3; }
|
||||
tail -n +2 ${ofn}".csv" | cut -d";" -f2,13-17 > ${ofn}".tmp" && mv ${ofn}".tmp" ${ofn}".csv" || { echo "error on removing first line."; exit 6; }
|
||||
tail -n +2 ${ofn}".csv" | cut -d";" -f2,13-17|grep -e "^[v|g|n]" > ${ofn}".tmp"
|
||||
mv ${ofn}".tmp" ${ofn}".csv" || { echo "error on removing first line."; exit 6; }
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue