Last active
April 26, 2020 23:21
-
-
Save obihann/a79d13fca16b211a6f184bbfb8cd05af to your computer and use it in GitHub Desktop.
Revisions
-
obihann revised this gist
Apr 26, 2020 . 2 changed files with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,2 +1,2 @@ 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 File renamed without changes. -
obihann created this gist
Apr 26, 2020 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,16 @@ 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 This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,2 @@ 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" ~/mpsnr.data; then echo $call; fi; done < ~/mpsnr.log 2>/dev/null | sort -u