| |    | 85019 packages online | 
 | 
|  | 
| 
 | 
| dev/c/rot13.lha |  |  | | No screenshot available | 
 |  | ------------------------ snip -------------------------
/* rot13.c   Bei EBCDIC klappt das natuerlich nicht! */
#include <ctype.h>
#include <stdio.h>
int main()
{
    int c;
    while ((c=getc(stdin))!=EOF)
        putc(islower(c)? 'a'+(c-'a'+13)%26 :
             isupper(c)? 'A'+(c-'A'+13)%26 : c, stdout);
    return 0;
}
------------------------ snip -------------------------
 --
 ARK, 19/Oct/98
 |  | 
 Contents of dev/c/rot13.lha
  PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                  191     272  70.2% -lh5- 79f5 Oct 19  1998 rot13/rot13.c
[generic]                  295     511  57.7% -lh5- 33ec Oct 19  1998 rot13/rot13.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         2 files     486     783  62.1%            Oct 19  1998
 | 
 |  | 
|  | 
| Page generated in 0.03 seconds | 
| Aminet © 1992-2024 Urban 
Müller and the Aminet team.
Aminet contact address: <aminet  aminet net> |