2016-08-06 16:23:21 +00:00
|
|
|
# NATO Phonetic Alphabet Converter
|
2014-12-16 20:26:00 +00:00
|
|
|
|
2016-08-06 16:23:21 +00:00
|
|
|
Convert list of character to the equivalent in NATO alphabet and digits in ITU/IMO alphabet. And it takes care
|
2014-12-16 20:26:00 +00:00
|
|
|
of the capitals:
|
|
|
|
|
2014-12-16 20:28:40 +00:00
|
|
|
$ ./nato_converter.py aBc
|
2014-12-16 20:26:00 +00:00
|
|
|
aBc: alpha BRAVO charlie
|
|
|
|
|
|
|
|
This is useful to give password orally and avoid confusion:
|
|
|
|
|
|
|
|
$ ./nato_converter.py $( pwgen 8 1)
|
2016-08-06 16:23:21 +00:00
|
|
|
Mahngi8i: MIKE alpha hotel november golf india Oktoeight india
|
2014-12-16 20:26:00 +00:00
|
|
|
|
2016-08-06 16:23:21 +00:00
|
|
|
If you don't specify an argument, it reads stdin:
|
2014-12-16 20:26:00 +00:00
|
|
|
|
|
|
|
$ pwgen 3 2 | ./nato_converter.py
|
2016-08-06 16:23:21 +00:00
|
|
|
Ym20Ge: YANKEE mike Bissotwo Nadazero GOLF echo
|
2014-12-16 20:26:00 +00:00
|
|
|
|