Examples fixed for the ITU/IMO alphabet

This commit is contained in:
Alexandre Dulaunoy 2016-08-06 18:23:21 +02:00
parent c55c04fc11
commit c721fab930

View file

@ -1,6 +1,6 @@
#Nato converter # NATO Phonetic Alphabet Converter
Convert list of character to the equivalent in NATO alphabet. And it takes care Convert list of character to the equivalent in NATO alphabet and digits in ITU/IMO alphabet. And it takes care
of the capitals: of the capitals:
$ ./nato_converter.py aBc $ ./nato_converter.py aBc
@ -9,11 +9,10 @@ of the capitals:
This is useful to give password orally and avoid confusion: This is useful to give password orally and avoid confusion:
$ ./nato_converter.py $( pwgen 8 1) $ ./nato_converter.py $( pwgen 8 1)
Mahngi8i: MIKE alpha hotel november golf india 8 india Mahngi8i: MIKE alpha hotel november golf india Oktoeight india
If you don't specify an argument, it reads stdint: If you don't specify an argument, it reads stdin:
$ pwgen 3 2 | ./nato_converter.py $ pwgen 3 2 | ./nato_converter.py
Ym2 0Ge : YANKEE mike 2 0 GOLF echo Ym20Ge: YANKEE mike Bissotwo Nadazero GOLF echo