[tpwd] Fix segfault when exactly one argument given
[tinyapps.git] / rot13.c
blob6113961377168dae005fb4bf7b7e4bad9a9de9f9
1 /*
2 * Encrypts message using ROT13
3 * Released to Public Domain
5 * This is part of Tiny Applications Collection
6 * -> http://tinyapps.sourceforge.net/
7 */
9 #include <stdio.h>
10 main(a){while(a=~getchar())putchar(~a-1/(~(a|32)/13*2-11)*13);}