mirror of https://github.com/dirtbags/moth.git
14 lines
145 B
C
14 lines
145 B
C
|
#include <unistd.h>
|
||
|
|
||
|
int
|
||
|
main(int argc, char *argv[])
|
||
|
{
|
||
|
char c;
|
||
|
|
||
|
while (read(0, &c, 1)) {
|
||
|
c ^= 3;
|
||
|
write(1, &c, 1);
|
||
|
}
|
||
|
return 0;
|
||
|
}
|