diff options
| -rwxr-xr-x | scripts/rot | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/rot b/scripts/rot index fed5c67..627ef62 100755 --- a/scripts/rot +++ b/scripts/rot @@ -25,7 +25,7 @@ BEGIN { alph[2]="abcdefghijklmnopqrstuvwxyz" for (j=1;j<=2;j++) { cipher=substr(alph[j], rot+1) substr(alph[j], 1, rot); - for (i=0;i<26;i++) { + for (i=0;i<=26;i++) { split(alph[j], chars, ""); split(cipher, cipher_chars, ""); cipher_map[chars[i]]=cipher_chars[i]; |
