Command line options |
-v |
Returns the script version number. Example: enigma]$ ./enigma.sh -v
Output: Enigma M3 and M4 emulator script, version 0.5.2 |
-M |
Machine type. Choose M3, M4, or R. This must be the first option on the command line as it is used by other options in machine setup. Example: -M M3 Selects the three wheel Enigma. |
-r |
Ring settings. If you are using in M3 mode, choose 3 letters from AAA to ZZZ For M4 or R mode, choose 4 letters from AAAA to ZZZZ Example: -r AAA |
-m |
Message settings. If you are using in M3 mode, choose 3 letters from AAA to ZZZ For M4 or R mode, choose 4 letters from AAAA to ZZZZ Example: -m AAA |
-s |
Stecker Settings. Choose 1 to 13 pairs of letters to swap Do not repeat letters! The setting is not required, but it was normally used with 10-11 pairs. Example: -s PQLAISOVEB Steckers are not used in R mode. |
-u |
UKW selection. For M3 or M4 mode choose B or C. For R mode choose R. Example: -u B |
-w |
Wheel selection and order. If you are using in M3 mode, choose 3 numbers from 1 to 8 Do not repeat numbers! For M4 mode, choose B or C and 3 numbers from 1 to 8 Do not repeat numbers! For R mode, choose 3 numbers from 1 to 3 Do not repeat numbers! M3 Example: -w 482 M4 Example: -w C168 R Example: -w 312 |
-o |
Format output. Choose 3 numbers from 1 to 9. The first number sets the number of letters in a column. The second number sets the number of columns per group. The third number sets the number of groups per row. Example: -o 552 Output: QSDTG EWDRF WRFWD ESDTF WDIJH TFBIO EDCVF EDHGU VBNMJ ILOPD Example: -o 333 Output: RDI WRE RDJ WOJ BVH IJN RDG THE EVJ |
-h |
Display help screen. |
-c |
Write config file. Takes the current command line options and writes them to enigma.conf. This must be the last option. |
|
|
Example command line. enigma]$ ./enigma.sh -M M3 -r SYW -s QWERTYUIOPASDF -u B -m AIV -w 513 -o 421 |