Last active
May 29, 2024 15:06
-
-
Save chevdor/85f08df67da5bbe11c01dcb15aca55c0 to your computer and use it in GitHub Desktop.
PMR 446 Codes
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
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
Number;Freq | |
1;67.0 | |
2;69.3 | |
3;71.9 | |
4;74.4 | |
5;77.0 | |
6;79.7 | |
7;82.5 | |
8;85.4 | |
9;88.5 | |
10;91.5 | |
11;94.8 | |
12;97.4 | |
13;100.0 | |
14;103.5 | |
15;107.2 | |
16;110.9 | |
17;114.8 | |
18;118.8 | |
19;123 | |
20;127.3 | |
21;131.8 | |
22;136.5 | |
23;141.3 | |
24;146.2 | |
25;151.4 | |
26;156.7 | |
27;159.8 | |
28;162.2 | |
29;165.5 | |
30;167.9 | |
31;171.3 | |
32;173.8 | |
33;177.8 | |
34;179.9 | |
35;183.5 | |
36;186.2 | |
37;189.9 | |
38;192.8 | |
39;196.6 | |
40;199.3 | |
41;203.5 | |
42;206.5 | |
43;210.7 | |
44;218.1 | |
45;225.7 | |
46;229.1 | |
47;233.6 | |
48;241.8 | |
49;250.3 | |
50;254.1 |
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
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
Number;DCS Code | |
1;23 | |
2;25 | |
3;26 | |
4;31 | |
5;32 | |
6;36 | |
7;43 | |
8;47 | |
9;51 | |
10;53 | |
11;54 | |
12;65 | |
13;71 | |
14;72 | |
15;73 | |
16;74 | |
17;114 | |
18;115 | |
19;116 | |
20;122 | |
21;125 | |
22;131 | |
23;132 | |
24;134 | |
25;143 | |
26;145 | |
27;152 | |
28;155 | |
29;156 | |
30;162 | |
31;165 | |
32;172 | |
33;174 | |
34;205 | |
35;212 | |
36;223 | |
37;225 | |
38;226 | |
39;243 | |
40;244 | |
41;245 | |
42;246 | |
43;251 | |
44;252 | |
45;255 | |
46;261 | |
47;263 | |
48;265 | |
49;266 | |
50;271 | |
51;274 | |
52;306 | |
53;311 | |
54;315 | |
55;325 | |
56;331 | |
57;332 | |
58;343 | |
59;346 | |
60;351 | |
61;356 | |
62;364 | |
63;365 | |
64;371 | |
65;411 | |
66;412 | |
67;413 | |
68;423 | |
69;431 | |
70;432 | |
71;445 | |
72;446 | |
73;452 | |
74;454 | |
75;455 | |
76;462 | |
77;464 | |
78;465 | |
79;466 | |
80;503 | |
81;506 | |
82;516 | |
83;523 | |
84;526 | |
85;532 | |
86;546 | |
87;565 | |
88;606 | |
89;612 | |
90;624 | |
91;627 | |
92;631 | |
93;632 | |
94;645 | |
95;654 | |
96;662 | |
97;664 | |
98;703 | |
99;712 | |
100;723 | |
101;731 | |
102;732 | |
103;734 | |
104;743 | |
105;754 |
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
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
Number;Freq | |
1;67.0 | |
2;71.9 | |
3;74.4 | |
4;77.0 | |
5;79.7 | |
6;82.5 | |
7;85.4 | |
8;88.5 | |
9;91.5 | |
10;94.8 | |
11;97.4 | |
12;100.0 | |
13;103.5 | |
14;107.2 | |
15;110.9 | |
16;114.8 | |
17;118.8 | |
18;123 | |
19;127.3 | |
20;131.8 | |
21;136.5 | |
22;141.3 | |
23;146.2 | |
24;151.4 | |
25;156.7 | |
26;162.2 | |
27;167.9 | |
28;173.8 | |
29;179.9 | |
30;186.2 | |
31;192.8 | |
32;203.5 | |
33;210.7 | |
34;218.1 | |
35;225.7 | |
36;233.6 | |
37;241.8 | |
38;250.3 | |
122;69.3 |
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
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
DPL;DCS | |
39;23 | |
40;25 | |
41;26 | |
42;31 | |
43;32 | |
44;43 | |
45;47 | |
46;51 | |
47;54 | |
48;65 | |
49;71 | |
50;72 | |
51;73 | |
52;74 | |
53;114 | |
54;115 | |
55;116 | |
56;125 | |
57;131 | |
58;132 | |
59;134 | |
60;143 | |
61;152 | |
62;155 | |
63;156 | |
64;162 | |
65;165 | |
66;172 | |
67;174 | |
68;205 | |
69;223 | |
70;226 | |
71;243 | |
72;244 | |
73;245 | |
74;251 | |
75;261 | |
76;263 | |
77;265 | |
78;271 | |
79;306 | |
80;311 | |
81;315 | |
82;331 | |
83;343 | |
84;346 | |
85;351 | |
86;364 | |
87;365 | |
88;371 | |
89;411 | |
90;412 | |
91;413 | |
92;423 | |
93;431 | |
94;432 | |
95;445 | |
96;464 | |
97;465 | |
98;466 | |
99;503 | |
100;506 | |
101;516 | |
102;532 | |
103;546 | |
104;565 | |
105;606 | |
106;612 | |
107;624 | |
108;627 | |
109;631 | |
110;632 | |
111;654 | |
112;662 | |
113;664 | |
114;703 | |
115;712 | |
116;723 | |
117;731 | |
118;732 | |
119;734 | |
120;743 | |
121;754 | |
123;645 | |
124;Customized_PL | |
125;Customized_PL | |
126;Customized_PL | |
127;Customized_PL | |
128;Customized_PL | |
129;Customized_PL | |
130;Inverted_DPL_39 | |
131;Inverted_DPL_40 | |
132;Inverted_DPL_41 | |
133;Inverted_DPL_42 | |
134;Inverted_DPL_43 | |
135;Inverted_DPL_44 | |
136;Inverted_DPL_45 | |
137;Inverted_DPL_46 | |
138;Inverted_DPL_47 | |
139;Inverted_DPL_48 | |
140;Inverted_DPL_49 | |
141;Inverted_DPL_50 | |
142;Inverted_DPL_51 | |
143;Inverted_DPL_52 | |
144;Inverted_DPL_53 | |
145;Inverted_DPL_54 | |
146;Inverted_DPL_55 | |
147;Inverted_DPL_56 | |
148;Inverted_DPL_57 | |
149;Inverted_DPL_58 | |
150;Inverted_DPL_59 | |
151;Inverted_DPL_60 | |
152;Inverted_DPL_61 | |
153;Inverted_DPL_62 | |
154;Inverted_DPL_63 | |
155;Inverted_DPL_64 | |
156;Inverted_DPL_65 | |
157;Inverted_DPL_66 | |
158;Inverted_DPL_67 | |
159;Inverted_DPL_68 | |
160;Inverted_DPL_69 | |
161;Inverted_DPL_70 | |
162;Inverted_DPL_71 | |
163;Inverted_DPL_72 | |
164;Inverted_DPL_73 | |
165;Inverted_DPL_74 | |
166;Inverted_DPL_75 | |
167;Inverted_DPL_76 | |
168;Inverted_DPL_77 | |
169;Inverted_DPL_78 | |
170;Inverted_DPL_79 | |
171;Inverted_DPL_80 | |
172;Inverted_DPL_81 | |
173;Inverted_DPL_82 | |
174;Inverted_DPL_83 | |
175;Inverted_DPL_84 | |
176;Inverted_DPL_85 | |
177;Inverted_DPL_86 | |
178;Inverted_DPL_87 | |
179;Inverted_DPL_88 | |
180;Inverted_DPL_89 | |
181;Inverted_DPL_90 | |
182;Inverted_DPL_91 | |
183;Inverted_DPL_92 | |
184;Inverted_DPL_93 | |
185;Inverted_DPL_94 | |
186;Inverted_DPL_95 | |
187;Inverted_DPL_96 | |
188;Inverted_DPL_97 | |
189;Inverted_DPL_98 | |
190;Inverted_DPL_99 | |
191;Inverted_DPL_100 | |
192;Inverted_DPL_101 | |
193;Inverted_DPL_102 | |
194;Inverted_DPL_103 | |
195;Inverted_DPL_104 | |
196;Inverted_DPL_105 | |
197;Inverted_DPL_106 | |
198;Inverted_DPL_107 | |
199;Inverted_DPL_108 | |
200;Inverted_DPL_109 | |
201;Inverted_DPL_110 | |
202;Inverted_DPL_111 | |
203;Inverted_DPL_112 | |
204;Inverted_DPL_113 | |
205;Inverted_DPL_114 | |
206;Inverted_DPL_115 | |
207;Inverted_DPL_116 | |
208;Inverted_DPL_117 | |
209;Inverted_DPL_118 | |
210;Inverted_DPL_119 | |
211;Inverted_DPL_120 | |
212;Inverted_DPL_121 | |
213;Inverted_DPL_123 | |
214;Customized_DPL | |
215;Customized_DPL | |
216;Customized_DPL | |
217;Customized_DPL | |
218;Customized_DPL | |
219;Customized_DPL |
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
#!/usr/bin/env bash | |
CODE=$1 | |
FROM=$2 | |
TO=$3 | |
if [ -z "$CODE" ] || [ -z "$FROM" ] || [ -z "$TO" ]; then | |
echo "Usage: $0 <code> <from> <to>" | |
echo "You passed:" | |
echo " code: $CODE" | |
echo " from: $FROM" | |
echo " to: $TO" | |
exit 1 | |
fi | |
FROM_VALUE=$(curl -s $FROM | grep -E "^$CODE;" | cut -d ";" -f2) | |
if [ -z "$FROM_VALUE" ]; then | |
FROM_VALUE="❌" | |
fi | |
TO_VALUE=$(curl -s $TO | grep -E ";$FROM_VALUE$" | cut -d ";" -f1) | |
if [ -z "$TO_VALUE" ]; then | |
TO_VALUE="❌" | |
fi | |
echo "$CODE > $FROM_VALUE > $TO_VALUE" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment