-
kr69sugu authored
used the complete .xlsx, removed some small syntax/formatting errors and manually recompiled the tag-list, cleaned and merged the data.
kr69sugu authoredused the complete .xlsx, removed some small syntax/formatting errors and manually recompiled the tag-list, cleaned and merged the data.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
unknowntags.sh 636 B
#!/bin/bash
if (( $# < 1 )); then
echo "Print number of unique unknowntags"
echo "Usage: $0 dataFile"
exit
fi
grep X $1 | cut -d',' -f8 | sort | uniq | wc -l
# if (( "$#" < 2 )); then
# echo "Usage: this data.csv newtagFile"
# echo "1. searches for unkown tags ('X') and saves them in a list named unknownTags"
# echo "2. compares these tags, with the tags from tagFile"
# echo "If anything matches, the beetle/tag must've been in the unit!"
# exit 1
# fi
# # ecoTron-data-20200707-20200915
# grep X $1 | cut -d',' -f8 | sort | uniq > unknownTags
# while IFS= read -r line
# do
# grep "$line" $unknownTags
# done < "$2"