Last active
April 26, 2020 23:21
-
-
Save obihann/a79d13fca16b211a6f184bbfb8cd05af to your computer and use it in GitHub Desktop.
Track calls in SDRTrunk that have no alias
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
awk -F ',' '{print $6}' ~/SDRTrunk/event_logs/*_call_events.log | grep -v TO | grep -v "\"\"" | sed "s/\"//g" | sort -u > ~/mpsnr.log | |
while read call; do if ! grep -q "$call" ~/SDRTrunk/playlist/default.xml; then grep "$call" ~/trs.csv; fi; done < ~/mpsnr.log 2>/dev/null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20000 | Shubie Radio | |
---|---|---|
1000 | Sheriff Dispatch | |
1001 | Sheriff HFX | |
1002 | Sheriff Kings | |
1004 | Sheriff Pictou | |
1005 | Sheriff Colchester | |
1006 | Sheriff Lunenberg | |
1007 | Sheriff Yarmouth | |
3013 | EHS North | |
3014 | EHS North | |
3015 | EHS North | |
3003 | EHS Central | |
3004 | EHS Central | |
3005 | EHS Central | |
3011 | Cobequid Community Health Centre | |
4007 | QE2/Infirmary |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment